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

Replies are listed 'Best First'.
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?
[Cow1337killr]: <p>stevieb, you should leave an insightful comment at https://plugins. jetbrains.com/ idea/plugin/7796- perl</p>
[Cow1337killr]: (Oops. HTML paragraph markup not needed.)
[stevieb]: Cow1337killr yeah, you're probably right. I have communicated to the author directly, and here on his threads. It's a tremenous setup. With Devel::Camelcadedb , you get full perl debug support too
[stevieb]: so now I can use CLion with the Perl plugin and have a single IDE for Perl/C/C++. It'll make writing C/XS dists much easier
[stevieb]: Python too, but I leave work at work

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2017-02-20 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.