xsl-list
[Top] [All Lists]

Re: [xsl] Option mystery

2006-12-14 07:54:11

But is it technically legitimate to have "$alternate-tier/option[]" in
the second xsl:when block ?

well its's syntactically correct, but as you haven't shown your input or
the definition of $alternate-tier, or said what output you want, no one
other than you can say if it does what you want it to do.

Looks like if similar node exists in parallel tree and matches same
conditions, it sets it's value to "N/A".

No XSLT engine should ever generate the string "N/A" automatically.
The string value of the special double value not-a-number is "NaN" so
you sometimes see that in unexpected places, but never  "N/A".

David



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>