vladb has asked for the wisdom of the Perl Monks concerning the following question:
Here's the actual code:XSL string parsed! Error while parsing: not well-formed (invalid token) at line 1, column 4, byte 4 at /Citygu +ides/local/lib/perl5/site_perl/5.6.1/sun4-solaris/XML/Parser.pm line +185 Data/verysimple.xml at /export/home/vlad/scratch/LIB/XML/XSLT.pm line +1150.
use XML::XSLT; my $simple_xsl = qq~<?xml version="1.0"?> <xsl:stylesheet> <xsl:template match="/"> <html> <xsl:apply-templates/> </html> </xsl:template> </xsl:stylesheet> ~; my $source = new XML::XSLT($simple_xsl); print "XSL string parsed!\n"; my $source1 = new XML::XSLT('Data/verysimple.xml'); print "XSL file parsed!\n";
# Under Construction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XSLT doesn't understand me?
by Matts (Deacon) on Jun 28, 2002 at 10:36 UTC | |
|
Re: XSLT doesn't understand me?
by newrisedesigns (Curate) on Jun 27, 2002 at 19:35 UTC | |
|
Re: XSLT doesn't understand me?
by lestrrat (Deacon) on Jun 27, 2002 at 19:17 UTC | |
|
Re: XSLT doesn't understand me?
by thraxil (Prior) on Jun 28, 2002 at 14:26 UTC |