Subject: RE: [xsl] Re: whats the best way to create and use values for lookup (key-value) such that you can loop through it with limits From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx> Date: Tue, 16 Sep 2003 08:42:27 +0100 |
-----Original Message----- From: SANWAL, ABHISHEK (HP-Houston) [mailto:abhishek.sanwal@xxxxxx] Subject: RE: [xsl] Re: whats the best way to create and use values for lookup (key-value) such that you can loop through it with limits Another way, I saw somewhere (don't remember) was kind of like this: <xsl:variable name=ColValue select=..expression..> < if.... < if.. < when .. expr </xsl:variable> -----Original Message----- sorry, the rest of the message was confusing, i am going to do some cyrptoanalysis of just this part of your email you need to use valid XSLT, this snippet breaks many rules; - Variable or parameter 'ColValue' cannot have both a select attribute and non-empty content. - you need to quote all attributes - yes you can nest statements inside an xsl:variable, which will generate a value e.g. <xsl:variable name="ColValue"> some value </xsl:variable> can just as easily be the result of processing <xsl:variable name="ColValue"> <xsl:apply-templates select="someelement"/> <xsl:if test="not(someelement)">include my data as well</xsl:if> </xsl:variable> and so on.... gl, jim fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Re: whats the best way to, Dimitre Novatchev | Thread | [xsl] using parameter, abbouh |
[xsl] Re: Re: whats the best way to, Dimitre Novatchev | Date | RE: [xsl] Server-side transform wit, Jim Fuller |
Month |