This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: display and out put problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]