Re: Can't locate object method "load_xml" via package "XML::LibXML

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <20091207224916.GF1888@wladimir>
Jakub Jezek schrieb am 07.12.2009 um 21:30:13 (+0100):

> my $source = $parser->parse_file('com.redhat.rhsa-20091463.xml');
> my $style_doc = $parser->parse_file('test4.xsl');
> 
> my $stylesheet = $xslt->parse_stylesheet($style_doc);
> my $results = $stylesheet->transform($source);
> print $stylesheet->output_string($results);
> =================================================
> 
> And it doesn't generate any output. But for used XSLT it should. It
> prints nothing.

Try:

xsltproc test4.xsl com.redhat.rhsa-20091463.xml

Does that print any output?

-- 
Michael Ludwig
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.