The stupid question is the question not asked | |
PerlMonks |
Re: Sort n Create XMLby misc (Friar) |
on Aug 20, 2007 at 09:41 UTC ( [id://633755]=note: print w/replies, xml ) | Need Help?? |
TIMTOWTDI :-) Here is my version, utilizing XML::Twig The sort sub function is quite ugly and buggy, if you are going to use Twig, you should either print the header, footer and the sorted classes in separate prints or surround all classes with a e.g. <allclasses> tag. I just wanted to give an idea how you could use Twig for the job.
In Section
Seekers of Perl Wisdom
|
|