|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:key and parameters?
My apologies.. my recreation of the code was inaccurate in that the
job_number, when hard-coded, should have three trailing spaces after it.
And this turns out to be the real culprit -- for reasons I don't understand,
passing a parameter & using that parameter in a 'xsl:for each' like:
-------------------------
<xsl:for-each select="xml/rs:data/z:row[@job_number[.=$job]]">
-------------
preserves the trailing spaces while:
-------------
<xsl:for-each select="key('by_job', $job)">
-------------
strips the trailing spaces. Since my XML Source has job_numbers of the form
'12345 ', the second will not work.
-Raj
rmuchhala@xxxxxxxxxxxxxx
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








