[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Lookup Table?

Subject: Re: Lookup Table?
From: Josh Canfield <joshcanfield@xxxxxxxxx>
Date: Mon, 16 Aug 2004 19:07:38 -0700
ur lookup table
How about something like this?
<xsl:value-of select="count(//MOP[number(.)&gt;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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.