This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: display and out put problem
- From: "Steve Willer" <willer at novator dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 8 Feb 2002 10:34:22 -0500
- Subject: Re: [xsl] display and out put problem
- References: <20020208152114.11443.qmail@mailweb11.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Wrap <xsl:if select="aaa"> around the whole table.
----- Original Message -----
From: "gbk" <gbk@rediffmail.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Friday, February 08, 2002 10:21 AM
Subject: [xsl] 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