|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Lookup Table?
How about something like this? <xsl:value-of select="count(//MOP[number(.)>0])"/> Josh On Mon, 16 Aug 2004 22:39:16 +0000, john lee <excel_man@xxxxxxxxxxx> wrote: > Dear All, > > 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: > > <Trades> > <Record id="1"> > <MOP>01</MOP> > <Inquiry_Type>I</Inquiry_Type> > </Record> > <Record id="2"> > <MOP>02</MOP> > <Inquiry_Type>I</Inquiry_Type> > </Record> > <Record id="3"> > <MOP>01</MOP> > <Inquiry_Type>R</Inquiry_Type> > </Record> > <Record id="4"> > <MOP>UR</MOP> > <Inquiry_Type>I</Inquiry_Type> > </Record> > </Trades> > > How do I display how many number of account is currently opened ? > Any help will be very much appreciated. > > Cezar > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail
|
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








