http://www.perlmonks.org?node_id=594351

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.

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