Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Generating XML documents based on a schema

by oralaks (Acolyte)
on Jan 12, 2007 at 11:20 UTC ( #594351=perlquestion: print w/ replies, xml ) Need Help??
oralaks has asked for the wisdom of the Perl Monks concerning the following question:

Hi I am new to perl's way of handling XML stuff.I looked at CPAN and i got confused with so many modules related to XML and couldnt decide which one to use. Here is my scenario: I need to generate XML documents containing data from my perl structures based on a given schama.Alternatively i can also have an XML template based on which i need to generate XML documents but the problem being some tag elements need to get repeated based on data from my perl structures. Experts pls advise.

Comment on Generating XML documents based on a schema
Re: Generating XML documents based on a schema
by Aristotle (Chancellor) on Jan 12, 2007 at 12:03 UTC

    I suggest XML::AutoWriter or Petal (with its replace and omit-tag features), depending on how complex the necessary logic to generate the document actually is.

    Makeshifts last the longest.

Re: Generating XML documents based on a schema
by explorer (Chaplain) on Jan 12, 2007 at 12:04 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2014-10-02 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (60 votes), past polls