more useful options | |
PerlMonks |
Twig Question: Create a new XML doc using twig?by zericm (Novice) |
on Mar 22, 2009 at 23:24 UTC ( [id://752452]=perlquestion: print w/replies, xml ) | Need Help?? |
zericm has asked for the wisdom of the Perl Monks concerning the following question: All, I have a need to create a new document and would like to do so with Twig. This right here works:
and outputs this: <?xml version="1.0"?><project><projectName>Test Project</projectName></project>Which works fine, I suppose, but I really want it to do this full on twig style, losing that quoted print statement above. What I'm trying accomplish here is to read from one xml file and then output two new files. I can do the parsing fine now (thanks monks) and can extract specific elements from the tree. The challange for me is creating the two new files. Thanks,
Back to
Seekers of Perl Wisdom
|
|