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}}==
'''Implementation:'''{{works with|E-on-Java}}
 
This makes use of XML libraries provided with Java.
 
Line 30 ⟶ 29:
 
=={{header|JavaScript}}==
'''Interpreter:'''{{works with|Firefox |2.0}}
 
DOM
 
Line 89 ⟶ 87:
 
=={{header|PHP}}==
{{works with|PHP|5}}
'''Interpreter:''' [[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}}==
'''Interpreter:'''{{works [[with|Python]] |2.5}}
 
from xml.dom.minidom import getDOMImplementation
Line 117 ⟶ 113:
xmlString = document.toprettyxml(" " * 4)
 
 
'''Interpreter:''' [[Python]] 2.5
 
from xml.etree import ElementTree as et
Anonymous user