Re: [xsl] result-document output method vs unnammed output method

Subject: Re: [xsl] result-document output method vs unnammed output method
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 25 Nov 2011 19:54:18 +0000
On 25/11/2011 17:23, Andrew Welch wrote:
Okay ... you made me look ... and I get what I thought I would get:
...
Are you getting anything different?
Odd... in Kernow and oXygen's (10.3) debugger aspect I get just 'bar'.

On the command line and in oXygen's normal editor I get<foo>bar</bar>

Need to look into this a little more...


Turns out to be a "feature" of the s9api design: where the transformation output is sent to a Serializer, the Serializer is responsible for deciding how to format the output; it is taking cognizance of the static serialization properties defined in xsl:output, but not the dynamic properties defined by xsl:result-document. I need to look into this.

Michael Kay
Saxonica

Current Thread