This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: set a variable to a node-set that contains *
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] set a variable to a node-set that contains *
- From: Xiaocun Xu <xiaocunxu at yahoo dot com>
- Date: Thu, 19 Apr 2001 08:21:58 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks David, that's exactly it. Duh!! Forgot about
the if test.
Thanks for everyone's reply :)
Xiaocun
--- David Carlisle <davidc@nag.co.uk> wrote:
>
> I am having some trouble set a variable to a
> node-set that contains "*".
>
> There is nothing special about a *appearing in
> element content
> so I guess the error is in part of your stylesheet
> that you didn't show
> us.
>
> For example
>
> <xsl:variable name="bidHeader" select="."/>
>
> where is that occuring? would the * stop that
> template being executed,
> for example
> <xsl:template match="cell[.='BidType']">
> <xsl:variable name="bidHeader" select="."/>
>
> would cause the variable to be set just if the * was
> not there
>
> David
>
>
_____________________________________________________________________
> This message has been checked for all known viruses
> by Star Internet delivered
> through the MessageLabs Virus Control Centre. For
> further information visit
> http://www.star.net.uk/stats.asp
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list