Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://583733]
help
Chatterbox?
and not a whimper to be heard...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-12-13 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (372 votes). Check out past polls.

    Notices?