Subject: Re: [xsl] set a variable to a node-set that contains * From: Xiaocun Xu <xiaocunxu@xxxxxxxxx> Date: Thu, 19 Apr 2001 08:21:58 -0700 (PDT) |
Thanks David, that's exactly it. Duh!! Forgot about the if test. Thanks for everyone's reply :) Xiaocun --- David Carlisle <davidc@xxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] set a variable to a node-, David Carlisle | Thread | [xsl] Transitive closure for XPath, Christian Nentwich |
RE: [xsl] Changing the value of nod, Chris Bayes | Date | AW: AW: [xsl] for-each with include, Machelett, Renato |
Month |