Subject: Re: display and out put problem
From: "Steve Willer" <willer@xxxxxxxxxxx>
Date: Fri, 8 Feb 2002 10:34:22 -0500
|
Wrap <xsl:if select="aaa"> around the whole table.
----- Original Message -----
From: "gbk" <gbk@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 08, 2002 10:21 AM
Subject: display and out put problem
>
> 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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|