W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2003

Re: 'XSL-FO Problem'

From: Girish Kanmas <girishrk@india.ti.com>
Date: Mon, 10 Nov 2003 16:43:32 +0530
To: <www-xsl-fo@w3.org>
Message-ID: <001c01c3a77b$adb8eee0$2653579d@x00nkulk>


xml file
-------
 <name>
	<fname>saurabh</fname>
	<lname>sinha</lname>
</name>
xsl file
------
<xsl:template match="name">
	<fo:block font-family="sans-serif" font-size="7pt">
			<xsl:value-of select="fname" />
			<xsl:value-of select='lname"/>
	</fo:block>
</xsl:template>
As your requirement is to display both "fname" and "lname" in same line, you
need to use it in the same block. Using other block forces new line.
Hope this will help.

Girish Kanmas
TI Extn: 1387
Mobile: +91 (80) 56728348
Received on Monday, 10 November 2003 06:14:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT