我有样本xml请求:
<?XML VERSION="1.0" ENCODING="UTF-8" STANDALONE="YES"?>
<ELEMENT ATTRIBUTE="TEST">
<CHILDREN>ABCDE</CHILDREN>
<CHILDREN>MNOPQR</CHILDREN>
</ELEMENT>
我注意到libxml考虑了元素或childern节点之间的空格(即>
和<
之间)。 Libxml主页说In XML all characters in the content of the document are significant including blanks and formatting line breaks
。有没有办法处理这类请求。