I have an xml file which I want to use xsl to put certain information in a table. I only want to extract particular ID's and put them in the table. The problem I am having is how to know when to put in a <tr> table return to get
the table into 2 columns with the coding in my xsl file. I would like the output to look like below in a table with 2 columns for only the ID's or data I want to pick
out:
Base Unit Module
Unit Airflow RPM
Unit Height Unit Weight
Any help would be greatly appreciated.
Below is the xml file.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="unit.xsl"?>
<Performance_Data>
<Perf_Module nID="2004656" name="Base Unit Module">
<Perf_Category nID="31" name="Unit Airflow">
</Perf_Category>
<Perf_Category nID="21" name="Unit Length">
</Perf_Category>
<Perf_Category nID="53" name="Unit Weight">
</Perf_Category>
<Perf_Category nID="4" name="Unit Width">
</Perf_Category>
<Perf_Category nID="55" name="Unit Height">
</Perf_Category>
<Perf_Category nID="2014727" name="ESP" >
</Perf_Category>
<Perf_Category nID="20" name="RPM">
</Perf_Category>
<Perf_Category nID="2" name="Total Static Pres." shortCode="TSP">
</Perf_Category>
<Perf_Category nID="18" name="SEFF">
</Perf_Category>
</Perf_Module>
</Performance_Data>
the table into 2 columns with the coding in my xsl file. I would like the output to look like below in a table with 2 columns for only the ID's or data I want to pick
out:
Base Unit Module
Unit Airflow RPM
Unit Height Unit Weight
Any help would be greatly appreciated.
Below is the xml file.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="unit.xsl"?>
<Performance_Data>
<Perf_Module nID="2004656" name="Base Unit Module">
<Perf_Category nID="31" name="Unit Airflow">
</Perf_Category>
<Perf_Category nID="21" name="Unit Length">
</Perf_Category>
<Perf_Category nID="53" name="Unit Weight">
</Perf_Category>
<Perf_Category nID="4" name="Unit Width">
</Perf_Category>
<Perf_Category nID="55" name="Unit Height">
</Perf_Category>
<Perf_Category nID="2014727" name="ESP" >
</Perf_Category>
<Perf_Category nID="20" name="RPM">
</Perf_Category>
<Perf_Category nID="2" name="Total Static Pres." shortCode="TSP">
</Perf_Category>
<Perf_Category nID="18" name="SEFF">
</Perf_Category>
</Perf_Module>
</Performance_Data>