Hi,

I am interested in rendering an xml txt file based on an a perl hash database.
The xml scheme is always the same.


For example: render the xml output from the perl hash below (based on an fixed 
xsd scheme)
$db = {
                'key1' => {
'subkey11' => 'val11',
'subkey12' => 'val12',
'subkey13' => 'val13',
},
                'key2' => {
'subkey21' => 'val21',
'subkey22' => 'val22',
'subkey23' => 'val23',
},
};

<level1>
                <name> key1<\name>
<level2>
                <name>subkey11<\name>
                <val>val11<\val>
<level2>
...
                
<\ level1>


Is there a perl package that can facilitate this?

 
Best Regards,
Dov Levenglick


_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to