Jerrek
19-08-2003, 19:26
Hi I'm wondering about some XML and XSL stuff. Suppose I have the following XML file:
<xmlfile>
<type1>
</type1>
<type2>
</type2>
<type2>
</type2>
<type2>
</type2>
<type3>
</type3>
</xmlfile>
Each ot the "typeX" sections gets matched in an XSL file by:
<xsl:template match="type1">
<xsl:template match="type2">
<xsl:template match="type3">
and so on. My problem is that there are multiple <type2> blocks, and that <type2> generates a table. As a result I end up with three tables, where what I really want is one table with three line items. Any way of doing that?
Thanks...
<xmlfile>
<type1>
</type1>
<type2>
</type2>
<type2>
</type2>
<type2>
</type2>
<type3>
</type3>
</xmlfile>
Each ot the "typeX" sections gets matched in an XSL file by:
<xsl:template match="type1">
<xsl:template match="type2">
<xsl:template match="type3">
and so on. My problem is that there are multiple <type2> blocks, and that <type2> generates a table. As a result I end up with three tables, where what I really want is one table with three line items. Any way of doing that?
Thanks...