Hi, Please have a look at the below XML and XSL files. When I am generating pdf, I am getting <note> tag's value/text along with other tags value/text. How to avoid that. I do not want to display the information embedded between the tag <note>. "F1" please... =================XML FILE================== <chapter> <header text="Header Level One"> <paragraph>This is the first Paragraph. <code>This is the section where code text is displayed for P1</code> <note>This is the section where note text is displayed for P1</note> </paragraph> <paragraph>This is the Second Paragraph</paragraph> <paragraph>This is the Third Paragraph. <code>This is the section where code text is displayed for P3</code> </paragraph> </header> </chapter> ==================XSL FILE================== <xsl:template match="chapter"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> .... .... </fo:layout-master-set> <fo:page-sequence master-reference="main"> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template match="header"> <fo:block> <xsl:value-of select="@text"/> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="paragraph"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="code"> <fo:block> <xsl:apply-templates/> </fo:block> </xsl:template> </xsl:stylesheet> ========================================== Girish Kanmas TI Extn: 1387 Mobile: +91 (80) 56728348Received on Monday, 1 December 2003 04:21:14 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT