|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Selecting the correct column value
hi,
my xml-file looks like:
<dataset>
<metadata>
<columnInfo name="EMP_NO"/>
<columnInfo name="PHONE_NO"/>
etc.
</metadata>
<data>
<row>
<column name="EMP_NO">112</column>
<column name="PHONE_NO">06-1123445354</column>
etc.
</row>
<row>
<column name="PHONE_NO">06-2233535675</column>
<column name="EMP_NO">334</column>
etc.
</row>
etc.
</data>
</dataset>The goal is just to show the data in a table. The problem I have is that the column values don`t always have the same order in the rows. So what I want to do is: for each row(i): for each columnInfo(j): select the column from row i which corresponds to the columninfo j`s name. I tried several stylesheets, but I don`t seem to get it working. any suggestions are appreciated. Jan-Willem Koldenhof
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








