Subject: Re: [xsl] distinguish whether variable holds string or node set From: David Carlisle <davidc@xxxxxxxxx> Date: Sun, 13 Jun 2010 10:51:02 +0100 |
Hi,
sorry for the messed up message I sent from my other mail account. I should have known that it wouldn't work as I experienced this issue before.
Is there a way to determine whether a variable holds a string or a node set? Something like:
Note that makes the default value an epty string which is dangerous if the value passed in is going to be a node set and you want to do $arg/some/path. Safer is to declare it as
<xsl:template name="my-template"> <xsl:param name="arg"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] distinguish whether variable , TW | Thread | Re: [xsl] distinguish whether varia, TW |
[xsl] Selecting 400 characters befo, Alex Muir | Date | Re: [xsl] distinguish whether varia, Martin Honnen |
Month |