Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: XML::XSLT problem

by bmann (Priest)
on Nov 16, 2006 at 22:15 UTC ( #584616=note: print w/ replies, xml ) Need Help??

in reply to XML::XSLT problem

Is XML::XSLT up to date? Old versions (0.20 and earlier) don't have a new method.

Comment on Re: XML::XSLT problem
Replies are listed 'Best First'.
Re^2: XML::XSLT problem
by artist (Parson) on Nov 16, 2006 at 23:05 UTC
    I am using version 0.48 for XML::XSLT as recently downloaded from CPAN. I copied that in my home directory and now, I get the message : Can't call method "createDocumentFragment" on an undefined value at XML/ line 766.


      This sounds like you are trying to process a stylesheet without having loaded an XML document first. Please could you supply the smallest piece of code and sample XML and XSLT files that give this error - I'm pretty sure the code you have above wouldn't do this because it XML::DOM's createDocumentFragment() is only used when certain XSLT directives need to insert generated elements into the outout document.

      BTW don't bother following up the cpanforum posting, I'm not going to respond in both places.


        Thanks, gellyfish.
        When I used a different XSL file, I don't see this error and everything works fine. But, I still like to have my original XSL file working. I am not the author of XSL file.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://584616]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-11-30 09:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (768 votes), past polls