in reply to Generate XML code from a xschema
If you're getting the data from a DB (and I'm assuming all the data has pretty much the same format/same xml elements) I think that one really easy option could be to use HTML::Template (for example) to create your XML file easily and without to struggle with any XML module.
Of course this can sound like a pretty lame option, but It has worked for me in the past. Quick and dirty.
NOTE. If your data in the DB has html code, you'll want to escape html entities to avoid a malformed xml file.
Hope this works for you.
|