Keep It Simple, Stupid | |
PerlMonks |
Re: Generate XMLs from a master XML or DTDby jdrago999 (Pilgrim) |
on Jun 08, 2012 at 17:40 UTC ( [id://975211]=note: print w/replies, xml ) | Need Help?? |
The W3C has a Perl script that will convert a DTD to XSD. http://www.w3.org/2000/04/schema_hack/ From that XSD you could easily use XML::XPath to do parse the elements and attributes listed in the XSD and produce XML from them.
In Section
Seekers of Perl Wisdom
|
|