1--TEST--
2Dom\XMLDocument::saveXml(File) node
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createEmpty("1.0", "ASCII");
9$root = $dom->appendChild($dom->createElement("root"));
10$child1 = $root->appendChild($dom->createElement("child1"));
11$child2 = $root->appendChild($dom->createElement("child2"));
12echo $dom->saveXml($child1);
13
14?>
15--EXPECT--
16<child1/>
17