This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: set a variable to a node-set that contains *


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]