|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Comparing nodes in axis
Well, the "else" part is cut&paste, so i'm not writing more code... but the important here is the execution of code without necessity, so i'll change to the choose/when/otherwise. Your sugestion of using <xsl:value-of select="number(parent::menu=(//menu)[$pos])"/> is very neat. However i cant use it cause the "otherwise" is not 0 but instead the prior value of the node, that could be 1 or 0. But ofcourse, you could not guess that... Thanks again. Michael Kay wrote: As a side question, i tend to make things liketest="not(parent::menu=(//menu)[$pos])">
|
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








