i'm using sablotron (0.52) but have run in to problems sorting things.
i get the error:
--
Warning [code:464] [URI:file:/home/me/work/nguk.ng/sort.xsl] [line:22] [node:element '<xsl:for-each>']
unsupported language 'en'
--
which only happens since i put in the sort tag. the xsl file has the layout
--
<xsl:for-each select="$cars">
<xsl:sort select="make/model" />
<xsl:copy-of select="somenodes"/>
</xsl:for-each>
--
i don't see how the language 'en' isn't supported or does it have a proper name since i guess it gets 'en' from the system env? where is the list of supported languages, every reference seems to avoid this.
if it looks correct then i guess it's sablotron i'm using a variable "$cars" which is a collection of cars i already made - i'm assuming xsl can sort in this scenario.
or am i just putting the xsl:sort in the wrong place? if was writing xsl spec then i'd have the xsl:for-each inside an xsl:sort tag but it just seems to be a single tag (a "/>". i would like:
<xsl:sort blahblah>
<xsl:for-each blahhaha>
blahblah
</xsl:for-each>
</xsl:sort>
but i've ditched the theory of xsl being sensible a long time ago
i get the error:
--
Warning [code:464] [URI:file:/home/me/work/nguk.ng/sort.xsl] [line:22] [node:element '<xsl:for-each>']
unsupported language 'en'
--
which only happens since i put in the sort tag. the xsl file has the layout
--
<xsl:for-each select="$cars">
<xsl:sort select="make/model" />
<xsl:copy-of select="somenodes"/>
</xsl:for-each>
--
i don't see how the language 'en' isn't supported or does it have a proper name since i guess it gets 'en' from the system env? where is the list of supported languages, every reference seems to avoid this.
if it looks correct then i guess it's sablotron i'm using a variable "$cars" which is a collection of cars i already made - i'm assuming xsl can sort in this scenario.
or am i just putting the xsl:sort in the wrong place? if was writing xsl spec then i'd have the xsl:for-each inside an xsl:sort tag but it just seems to be a single tag (a "/>". i would like:
<xsl:sort blahblah>
<xsl:for-each blahhaha>
blahblah
</xsl:for-each>
</xsl:sort>
but i've ditched the theory of xsl being sensible a long time ago