xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Lookup kind of Functionality with XSL


Subject: [xsl] Lookup kind of Functionality with XSL
From: Anil Kumar Veeramalli <anil.v@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 30 Oct 2009 14:20:04 +0530

Hi,

I have a requirement like this.

<employee hireDate="09/01/1998">
   <COLUMN NAME="LAST">Herbert three</COLUMN>
   <COLUMN NAME="FIRST">Johnny</COLUMN>
   <COLUMN NAME="ANL_RATE"><![CDATA[26525.8500]]></COLUMN>
   <COLUMN NAME="STATUS"><![CDATA[A]]></COLUMN>
 </employee>

another piece of XML is
<DESC_TABLE>
<COLUMN NAME="STATUS"><![CDATA[A]]></COLUMN>
<COLUMN NAME="DESCR"><![CDATA[Active]]></COLUMN>
</ROW>
</DESC_TABLE>


while reading STATUS (status A), I need to look up the corresponding Description ('Active').


I will have to use only XSL 1.0 version, javascript and XALAN (if required)

how can I achieve this in XSL.

Thanks,
Anil


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor