[xep-support] supported functions -?

Dunning, John JDunning at goSPS.com
Thu Jan 31 07:34:36 PST 2002


The formatting rule is:
<xsl:template match="nested-block">
	<fo:block start-indent="from-parent(start-indent) + 1cm"
	          font-family="serif" font-size="12pt" color="black">
		<xsl:apply-templates />
	</fo:block>
</xsl:template>

And the text is 
<nested-block>this is a block
	<nested-block>and this is nested inside
		<nested-block>and this is nested too </nested-block>
	</nested-block>
</nested-block>

The first <nested-block> is contained in a block inside a table cell.

Regards,
John 

-----Original Message-----
From: David Tolpin [mailto:dvd at renderx.com]
Sent: Thursday, January 31, 2002 2:56 AM
To: xep-support at renderx.com
Subject: Re: [xep-support] supported functions -?


> 
> According to the documentation (Section 1.4), the 'from-parent()' function
> is supported, however this code (which works in FOP) does not render
> correctly.  Is this a bug, or is this code not correct?
> 
> 
> <fo:block start-indent="from-parent(start-indent) + 1cm"
> 		  end-indent="from-parent(end-indent) + 1cm" 
>                          font-family="serif" font-size="12pt"
color="black">
> 	<xsl:apply-templates />
> </fo:block>

How does the parent look like?

David Tolpin
-------------------
By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list