Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Generate XMLs from a master XML or DTD

by jdrago999 (Pilgrim)
on Jun 08, 2012 at 17:40 UTC ( [id://975211]=note: print w/replies, xml ) Need Help??


in reply to Generate XMLs from a master XML or DTD

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.

  • Comment on Re: Generate XMLs from a master XML or DTD

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://975211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found