Re: (no subject)
Ihe Onwuka <[email protected]>
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CALfs7+xhbra5pgwMZMcc+HDx9UAft6P-=S-6honHt8L7f4aX6g@mail.gmail.com> |
Thanks Both. Phew. On Mon, Aug 17, 2020 at 12:16 PM sullivandt <[email protected]> wrote: > The end of the string that starts with "map(... should have two closing > parans. > > "map(xs:string, array(xs:string))"> > > > > Sent with ProtonMail <https://protonmail.com> Secure Email. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Monday, August 17, 2020 12:10 PM, Ihe Onwuka <[email protected]> > wrote: > > <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