|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Generating XML from a templateby qq (Hermit) |
| on Dec 14, 2004 at 10:03 UTC ( #414653=note: print w/ replies, xml ) | Need Help?? |
|
There is nothing wrong with the templating approach, but if you are not familiar with them, you should glance at the many XML modules on CPAN as well. You could either create the entire xml as needed, or have an xml template that you parse, then just change the values of whatever nodes needed. This may give you more flexibility in some cases. Example using XML::Twig:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||