XML/DOM serialization: Difference between revisions
m
Switch to header template
(Undo revision 8490 by Special:Contributions/Cf2Nem (User talk:Cf2Nem)) |
m (Switch to header template) |
||
Line 10:
</root>
==
'''Implementation:''' E-on-Java
Line 31 ⟶ 29:
(On the use of <code><unsafe></code>: The class has not yet been reviewed for E safety, so <code><import:...makeDocumentBuilderFactory></code> is not yet allowed. The review would probably be straightforward.)
==
'''Interpreter:''' Firefox 2.0
Line 61 ⟶ 57:
var xmlString = xml.toXMLString();
==
use XML::DOM::BagOfTricks qw(createDocument createTextElement);
Line 71 ⟶ 66:
print $doc->toString;
==
'''Interpreter:''' [[PHP]] 5
Line 87 ⟶ 80:
==
'''Interpreter:''' [[Python]] 2.5
Line 114 ⟶ 105:
xmlString = et.tostring(root)
==
require("rexml/document")
include REXML
|