Subject: Re: [xsl] Typing Variable as AnyURI - Problem From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Thu, 13 Sep 2012 08:36:14 +0100 |
> If I type the variable VMSCall as anyURI I get > > net.sf.saxon.trans.XPathException: A sequence of more than one item is > not allowed as the value of variable $VMScall > <xsl:variable name="VMScall" ><xsl:apply-templates/></xsl:variable> Have a think about what the actual contents of VMScall will be for that input. When learning XSLT 1.0, the main thing to grasp is template matching. For XSLT 2.0, it's sequences of items (assuming you know template matching) -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Typing Variable as AnyURI, Michael Kay | Thread | [xsl] Upgrading version should lead, Ihe Onwuka |
Re: [xsl] Upgrading version should , Andrew Welch | Date | Re: [xsl] Upgrading version should , Michael Kay |
Month |