Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: ludovic sauthier
XSLT::Stylesheet.new() segmentation fault [ reply ]  
2008-08-12 08:58
hello people, this is my problem

if I create an XML::Document with libxml and then I want to use it without saving it, I get a segmentation fault and I don't anderstand the reason.

Now it is want I am doing
- doc = XML::Document.new
- ...
- doc.save("file.xsl")
- docxsl = XML::Document.file("file.xsl")
- xslsheet = XSLT::Stylesheet.new(docxsl)
if I directly try to use the doc like XSLT::Stylesheet.new(doc) I get a segmentation fault.

Do somebody have got a solution????

Thanks for your help
Ludo