- From: shuva sinha <xsl_fo_info@yahoo.co.in>
- Date: Mon, 10 Nov 2003 07:42:52 +0000 (GMT)
- To: www-xsl-fo@w3.org
- Message-ID: <20031110074252.29689.qmail@web8102.in.yahoo.com>
Hi, I am facing the following problems during the making of PDF files from xml files. 1st xml file <level1>Form H <n1/>Uniform Motor Carrier Cargo</level1> 1st xsl file <xsl:template match="n1"> <fo:block/> </xsl:template> Desired Output Form H Uniform Motor Carrier Cargo Current Output Form H Uniform Motor Carrier Cargo 2nd xml file <name> <fname>saurabh</fname> <lname>sinha</lname> </name> 2nd xsl file <xsl:template match="name"> <fo:block font-family="sans-serif" font-size="7pt"> <xsl:apply-templates/> </fo:block> </xsl:template> <xsl:template match="fname"> <fo:block> <fo:inline font-family="sans-serif" font-size="7pt" keep-together.within-line="always"> <xsl:apply-templates/> </fo:inline> </fo:block> </xsl:template> <xsl:template match="lname"> <fo:block> <fo:inline font-family="sans-serif" font-size="7pt" keep-together.within-line="always"> <xsl:apply-templates/> </fo:inline> </fo:block> </xsl:template> Desired Output saurabh sinha Current Output saurabh sinha Note: I have tried using fo:wrapper & wrap-option. But the desired output not coming. 3rd xml file <para1>(STREET ADDRESS)(CITY)(STATE)(ZIP CODE)</para1> In pdf output there will be space in between each parenthesis i.e. spaces will be there in between (STREET ADDRESS), (CITY), (STATE), (ZIP CODE). I have used word-spacing within fo:block . But there is no output. Eagerly waiting for your suggestion & help. Regards, Saurabh Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
Received on Monday, 10 November 2003 03:57:28 UTC