Anonymous user
XML/DOM serialization: Difference between revisions
m
Changed over to works with template
m (→{{header|Perl}}: Added name of Perl module.) |
m (Changed over to works with template) |
||
Line 11:
=={{header|E}}==
This makes use of XML libraries provided with Java.
Line 30 ⟶ 29:
=={{header|JavaScript}}==
DOM
Line 89 ⟶ 87:
=={{header|PHP}}==
{{works with|PHP|5}}
<?php
$dom = new DOMDocument();//the constructor also takes the version and char-encoding as it's two respective parameters
Line 103 ⟶ 100:
=={{header|Python}}==
from xml.dom.minidom import getDOMImplementation
Line 117 ⟶ 113:
xmlString = document.toprettyxml(" " * 4)
from xml.etree import ElementTree as et
|