(no subject)
Ihe Onwuka <[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CALfs7+yC1x_894+72QOucpg8JDO10kiOnvYyUP0BVEgZ802uQQ@mail.gmail.com> |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:map="http://www.w3.org/2005/xpath-functions/map"
version="3.0" expand-text="yes" exclude-result-prefixes="xs map">
<xsl:variable name="actions" as="map(xs:string, array(xs:string)">
<xsl:map>
<xsl:map-entry key="'person'" select="['boy','girl']"/>
</xsl:map>
</xsl:variable>
<xsl:template
name="xsl:initial-template">{map:get($actions,'boy')}</xsl:template>
</xsl:stylesheet>
This stylesheet errors but should not
Error in xsl:variable/@as on line 5 column 70 of test.xsl:
XPST0003 expected ")", found "<eof>"
Errors were reported during stylesheet compilation
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help