Subject: RE: [xsl] Possible to pass 'empty sequence' to function? From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx> Date: Thu, 31 Mar 2005 11:04:16 +0100 |
M.K: > It's presumably failing because you declared the type on > xsl:param not to accept an empty sequence. For example if you > write <xsl:param name="p" as="xs:string"/> then an empty > sequence will not be accepted. If you change it to <xsl:param > name="p" as="xs:string?"/> then an empty sequence is OK. When is it a good idea to type a variable/param as "xs:string?" - what benefits does it bring over not specifying the "as" attribute? thanks andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Possible to pass 'empty s, chris | Thread | Re: [xsl] Possible to pass 'empty s, David Carlisle |
[xsl] RE: Resolving Variable Redefi, SianMace | Date | Re: [xsl] RE: Resolving Variable Re, David Carlisle |
Month |