This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Forming a Table
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] Forming a Table
- From: Ranajay Raychaudhuri <raychaur at cs dot man dot ac dot uk>
- Date: Tue, 07 Aug 2001 12:50:51 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dear Sir/Madam,
I have simple XML file in the form:
<XEX-data
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="student_schema1-ebSchema.xsd">
<!--============================================================-->
<output id="op1">
<corresp_time>401</corresp_time>
<progressive_vel>3.34</progressive_vel>
</output>
<output id="op2">
<corresp_time>411</corresp_time>
<progressive_vel>3.01</progressive_vel>
</output>
<!--============================================================-->
</XEX-data>
I want to write XSL codew which would simply extract the values of the
attributes of the element "output" and pdisplay them in a table of the
form:
progressive_velocity Corresponding time
3.34 401
3.01 411
How can I achieve this?
Thanks,
Ron
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list