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

Re: Displaying Descriptions Based on Codes

Subject: Re: Displaying Descriptions Based on Codes
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 14 Mar 2002 23:59:47 -0800 (PST)
voicexml lookup table date
"Katie McNally" <kmcnally9 at hotmail dot com> wrote:

> The XML that I get back after posting to a vendor contains data for a
> set of transactions.  I am displaying each transaction as a row in a 
> table.  One of the columns needs to show the Transaction 
> Description.  This value is not part of the XML data returned.  
> Instead, for each transaction, a code (Nm=CODE") is returned.  The 
> numeric value for the tag is the code, and is associated to a 
> description.  Right now we have a spreadsheet of what all the codes 
> and there corresponding descriptions are.
>
> How do I display the description for each transaction using XSL when 
> the xml contains only the code?

Put the descriptions in a lookup table (xml file) and use keys for
efficiency. Have a llok for example at:

http://sources.redhat.com/ml/xsl-list/2001-06/msg01004.html

Cheers,
Dimitre Novatchev.

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.