|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: display and out put problem
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








