View Single Post
Old 19-08-2003, 20:26   #1
Jerrek
Inactive
 
Jerrek's Avatar
 
Join Date: Jul 2003
Posts: 2,545
Jerrek can only hope to improve
XML and XSL help needed

Hi I'm wondering about some XML and XSL stuff. Suppose I have the following XML file:

Code:
<xmlfile>
	<type1>
	</type1>

	<type2>
	</type2>

	<type2>
	</type2>

	<type2>
	</type2>

	<type3>
	</type3>
</xmlfile>
Each ot the "typeX" sections gets matched in an XSL file by:
Code:
<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...
Jerrek is offline   Reply With Quote