Home > Back-end >  Excuse me a org. The w3c. XML dom storage problem.
Excuse me a org. The w3c. XML dom storage problem.

Time:12-06

. I use the org. W3c dom reads an XML, read after the memory, then some of the XML node set value, the inventory, found that after the inventory file node, if the node is empty, the contents of the nodes are only part of the end of the part without beginning, such as & lt;/A> . Could you tell me how can I make the content is empty nodes complete, also is maintain & lt; A> In the form of? Thank you very much!

CodePudding user response:


And
Are equivalent, you see only the end tag node, but it is not only an end tag, a first one last diagonal, no content node can be used & lt; A/& gt; The form tag,
  • Related