p:xslt bug?

Hi all,

Since the "result" output port of the p:xslt step is declared as
non-sequence, what happens when you run p:xslt with the following
stylesheet?

<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <xsl:result-document href="doc.xml">
      <foo/>
    </xsl:result-document>
  </xsl:template>
</xsl:stylesheet>

Clearly, the above transformation produces only one result document, and
it will appear on the "secondary" output port (because of
xsl:result-document was used). There will be no document the "result"
output port can be bound to...

Vojtech

--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech

Received on Monday, 4 October 2010 09:22:01 UTC