Using Saxon 9.7 and XSLT 3.0 and output method="adpative"
Posted: Wed May 11, 2016 1:09 pm
Using oXygen 18 and an XSLT 3.0 transformation with Saxon 9.7 EE added as an external XSLT engine I don't get the right output when using the new output method adaptive and outputting values like an array, for instance the minimal XSLT stylesheet
inside of oXygen outputs
in the result pane while Saxon run from the command line outputs the correct array syntax
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:math="http://www.w3.org/2005/xpath-functions/math"
xmlns:array="http://www.w3.org/2005/xpath-functions/array"
xmlns:mf="http://example.com/mf"
exclude-result-prefixes="xs math array mf"
version="3.0">
<xsl:output method="adaptive"/>
<xsl:template name="main">
<xsl:sequence select="[1, 2, 3]"/>
</xsl:template>
</xsl:stylesheet>
Code: Select all
1 2 3
Code: Select all
[1,2,3]