Subject: Re: [xsl] conditional declaretion of a variable From: david_n_bertoni@xxxxxxxxxx Date: Thu, 17 Apr 2003 08:49:12 -0700 |
> You don't conditionally want to assign a variable, you want to > definitely assign a variable, to a value that depends on a condition. > So the more natural (and legal) way is > > <xsl:variable name="valueField" select="@valueField|@field[not(@valueField)]"/> Don't you really mean: <xsl:variable name="valueField" select="@valueField|@field[not(../@valueField)]"/> ? Dave XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] conditional declaretion o, David Carlisle | Thread | Re: [xsl] conditional declaretion o, David Carlisle |
Re: [xsl] Calling Java Xalan inside, David McKain | Date | RE: [xsl] Reducing memeory overhead, Michael Kay |
Month |