|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Lookup Table?
Cezar,
At 10:07 PM 8/16/2004, Josh wrote: How about something like this? <xsl:value-of select="count(//MOP[number(.)>0])"/> I like this. It leverages your rule that open accounts are numbered, whereas non-numbered accounts will cast to NaN when you use the number() function. Hence, no lookup table is required. Cheers, Wendell > This is the situation: I need to get the number of currently open account > (which is indicated by MOP element), If MOP value is a number, not a > 2-char-code, then the current account is opened, otherwise it's close. The > MOP number could be 01 - 09. This is the xml:
|
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








