- or download this
#Read in raw xml, where test.xml is:
#<test><level1><level2><level3>testme</level3></level2></level1></test
+>
...
#Complete the circle and output the xml
print $xs->XMLout($ref,NoAttr => 1,RootName=>'test');
- or download this
<test>
<level1>
...
</level2>
</level1>
</test>
- or download this
<test>
<level1>
...
<level3>testme</level3>
</level1>
</test>
- or download this
$VAR1 = { 'level1' => { 'level2' => { 'level3' => 'testme' } } }