On 12.2.2020 17:26, [email protected] wrote: > But I'm looking for a way to use the parameter $foo as part of an fo > attribute, e.g.: > > <fo:external-graphic src="url('images/logo_###.svg')" /> > > where "###" is the value of the parameter $foo.
You can use attribute value template for this -- curly braces have
special meaning inside attributes:
<fo:external-graphic src="url('images/logo_{$foo}.svg')" />
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
