arian hojat wrote:
> hmmm how would i approach an xsl rule like this so it doesnt create the
> extra whitespace....
I'm never sure what white space at the template level is preserved in
the output and which isn't. The safest thing is simply not to have any,
e.g.,
<fo:foo
><xsl:attribute name="bar"
><xsl:value-of select="@someatt"
/></xsl:attribute
/></fo:foo>
Or to put all literal text within xsl:text elements.
> <xsl:attribute name="src">url('<xsl:value-of
> select="@fileName"/>')</xsl:attribute>
Also, you can simplify this markup to:
<fo:external-graphic src="{concat('url(', @fileName, ')')}">
Which I find clearer. While the concat() is not strictly necessary, I
find it clearer to make the entire attribute value an expression, rather
than this:
src="'url({@filename})'"
Cheers,
Eliot
-- W. Eliot Kimber Professional Services Innodata Isogen 9390 Research Blvd, #410 Austin, TX 78759 (512) 372-8155 ekimber@innodata-isogen.com www.innodata-isogen.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.htmlReceived on Tue Jun 28 08:54:36 2005
This archive was generated by hypermail 2.1.8 : Tue Jun 28 2005 - 08:54:37 PDT