Hi All,
I am newbie to the XSL world and would appreciate any help..
I have an array in a java program that has elements [1,3] , i need a way to
pass this array to XSL and filter the transactions whose "id" attribute
match the values in the array .
In the sample listed below, i need the header part (
<TPCA><company><location><transactions> ) and the transactions 1 and 3 in
the output.
Any sample code would be of great help.
Thanks and Warm regards
Jaywanth
<?xml version="1.0" encoding="UTF-8"?>
<TPCA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SAMPLE.xsd">
<company>AAA</company>
<location>bbb</location>
<transactions>
<transaction id="1">
<tranDate>11/11/2002</tranDate>
<tranTime> 11:30 </tranTime>
</transaction>
<transaction id="2">
<tranDate>11/11/2002</tranDate>
<tranTime> hhh </tranTime>
</transaction>
<transaction id="3">
<tranDate>11/11/2002</tranDate>
<tranTime>11:50</tranTime>
</transaction>
</transactions>
</TPCA>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list