Register • FAQ • Memberlist • Usergroups • Tutorials Point • Log in

| Page 1 of 1

XSLT vs XSLT4r transformation of xml
Author | Message
--- | ---
ascott Joined: 11 Nov 2009 Posts: 1 | XSLT vs XSLT4r transformation of xml I'm writing an application that has a link to a database-stored file location for a zipped xml file. I want the link to unzip the file to a temp directory, apply an xslt transformer, and open the report in a new window. I have the unzip functionality working. I tried using 'require xml/libxslt' but it couldn't find the xslt library. I used 'require xslt' and it compiled fine but the implentation didn't work. I decided to use the xslt4r modules from the RAA Repositories. I'm getting an error from the line "sheet = XSLT::Stylesheet.new( stylesheet )"... "Must pass in an XML::Document instance". if I change the code to "sheet = XSLT::Stylesheet.new( stylesheet, arguments )" I get the error: "wrong number of arguments (2 for 1)". This leads me to believe that the "require xslt" is not binding to xslt4r but to the previous xslt module. I find little documentation for the installation of xslt4r. Is there a way to verify that xslt4r is intalled correctly and that 'require xslt' is referencing it. Or can you tell me if my implementation is incorrect. Any help is greatly appreciated.
Wed Nov 11, 2009 12:45 am |

Display posts from previous: |

| Page 1 of 1

You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum

Powered by phpBB © phpBB Group Design by Vjacheslav Trushkin for phpBBStyles.com