Re: [xsl] no output

Subject: Re: [xsl] no output
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 27 Jan 2011 11:37:45 +0000
On 27/01/2011 10:35, Szabo, Patrick (LNG-VIE) wrote:

I'm using the most recent version of Saxon.
I want to split one file into many others without outputting the
original file.

I've always used this:

<xsl:stylesheet version="2.0"
xmlns:saxon=""; exclude-result-prefixes="#all">
<xsl:output method="saxon:net.sf.saxon.event.Sink" version="1"
encoding="ISO-8859-1" indent="yes"/>

but I get the following error:

Unknown serialization method

Is that because of the newer Version of Saxon ?!
Am I doing something wrong ?!

Product-specific questions are best asked on a product-specific list - there's a saxon-help list available via the project page on SourceForge, or a forum (also called saxon-help) if you don't want to subscribe.

Saxon 9.2 HE doesn't support any Saxon extensions to the XSLT spec; the general rule is that if you want something in the Saxon namespace, you need the Professional or Enterprise Edition.

As for your requirement, if you don't want to output the original file, surely it's easy to organize your code so that it doesn't attempt to do so?

Michael Kay

Current Thread