|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: whats the best way to create and use values fo
-----Original Message----- From: SANWAL, ABHISHEK (HP-Houston) [mailto:abhishek.sanwal@xxxxxx] Subject: RE: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








