Location: PHPKode > scripts > XML Writer class > xml-writer-class/myxmldocument.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE myxmldocument SYSTEM "myxmldocument.dtd">
<?xml-stylesheet type="text/xsl" href="myxmldocument.xsl"?>
<myxmldocument>
 <name>John Doe</name>
 <address country="us">
  <street>Wall Street, 1641</street>
  <zip>NY 72834</zip>
 </address>
</myxmldocument>
Return current item: XML Writer class