[xsl] display and out put problem

Subject: [xsl] display and out put problem
From: "gbk" <gbk@xxxxxxxxxxxxxx>
Date: 8 Feb 2002 15:21:14 -0000
hi friends


I have a xml say

<public>
        <aaa>text</aaa>
        <aaaa>text1</aaa>
</public>


and for this is right xsl
    <xsl:template match="/">

      <html>
	<body>
		<table>
		<tr>
		<td>
		   HEADING
		</td>
		</tr>	

      <xsl:applyTemplates />
    
		</table>
	>/body>
	</html>
	
<xsl:tamplate match="aaa">
	<xsl:valueof select="aaa"/>
</xsl:template>


this is totllay fine for me ,problem is when i dont find my match "aaa" i still get out put like my table and it headers
i want to avoid my heading when i dont find my match .
can ayone give a idea

thanks
gbk 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread