Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Generate XML code from a xschema

by porta (Sexton)
on Nov 13, 2006 at 15:54 UTC ( #583733=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Generate XML code from a xschema

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-09-22 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (189 votes), past polls