xml.js
Version:
XML.js provides helper functions for XML manipulation, including conversion of documents into [JXON](https://developer.mozilla.org/en-US/docs/JXON) objects. It is built on top of [xmldom](https://www.npmjs.org/package/xmldom) & [xpath](https://www.npmjs.o
35 lines (34 loc) • 1.01 kB
text/xml
<user id="123" xmlns:hidden="http://hidden.there/" xmlns:A="http://A.a/">
<!-- Address: -->
<address city="Montréal" country="Canada">
1, pl. Ville-Marie
</address>
<!-- - - - - - -->
TEXT
<!-- Contacts: -->
<!-- - - - - - -->
<contacts>
<contact firstName="John" lastName="Bird" xmlns="http://being.here/" xmlns:B="http://B.b/"/>
<contact firstName="George" lastName="Cartier">
<notes>
<![CDATA[
Will call back tomorrow.
]]>
</notes>
</contact>
<contact firstName="Normand" lastName="Larivière" xmlns="http://over.there/">
<notes>
<![CDATA[
Friend of George.
]]>
<![CDATA[
Asked for an appointment.
]]>
</notes>
</contact>
</contacts>
<hidden:notes>
Salut !
</hidden:notes>
</user>