There's more than one way to do things | |
PerlMonks |
Re: XML::XSLT problemby rg0now (Chaplain) |
on Apr 24, 2005 at 16:13 UTC ( [id://450994]=note: print w/replies, xml ) | Need Help?? |
You do not want to read the contents of the XML file, just to apply the XSLT to it. Simply pass the name of the file to the transform method: (snippet taken from the man page of XML::XSLT):
This has the beneficial side-effect, that you will (hoepfully) get more descriptive error messages...
In Section
Seekers of Perl Wisdom
|
|