XML-LibXML - how to validate an XSLT tempalte

Posted on Sat Oct 6 01:26:47 2007 by chovy
how to validate an XSLT tempalte
I'm getting an error when I run my xslt file through the parser.
my $p = XML::LibXML->new(); $p->validation(1); $p->recover(0); my $xslt = $p->parse_file( $xslt_file ); produces: /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl:4: validity error : Validation failed: n +o D TD found ! http://www.w3.org/1999/xhtml" exclude-result-prefixes="db ng exsl" version="1.0"
Write a response