Subject: RE: root node template - unmatching pattern?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 23 Nov 2004 18:19:51 -0000
|
> I'm struggling with the following (ridiculous) piece of style:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:o="http://www.xyz.it/be"
> xmlns="http://www.xyz.it/pdflib/tfl"
> exclude-result-prefixes="o"
> version="1.0"
> >
> <xsl:output method="xml" version="1.0" encoding="iso-8859-1"
> indent="yes"/>
> <xsl:template match="/">
> <test>Correctly matched!</test>
> </xsl:template>
> </xsl:stylesheet>
Your error must be in the way you are invoking the transformation, or in the
way you are displaying the results.
Michael Kay
http://www.saxonica.com/
|