concatenate fo:external-graphic
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Wed Oct 24, 2007 2:39 pm
concatenate fo:external-graphic
Hi everybody,
I have to concatenate a "src" but I don't have an idea.
My problem looks like this:
<fo:external-graphic src="http://localhost:7001/servlet/ChartView ... -templates select='whatever'/> width="18cm"></fo:external-graphic>
I've also tried it with:
"...&tmp=+<xsl:apply-templates select='whatever'/>"
or
"...&tmp="+<xsl:apply-templates select='whatever'/>
Nothing works yet
Is there any possibility to solve this problem?
I have to concatenate a "src" but I don't have an idea.
My problem looks like this:
<fo:external-graphic src="http://localhost:7001/servlet/ChartView ... -templates select='whatever'/> width="18cm"></fo:external-graphic>
I've also tried it with:
"...&tmp=+<xsl:apply-templates select='whatever'/>"
or
"...&tmp="+<xsl:apply-templates select='whatever'/>
Nothing works yet
Is there any possibility to solve this problem?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Store the result of <xsl:apply-templates select='whatever'/> in an XSLT variable for example $tmpVar before the fo:external-graphic element. After that use the concat function in the value of the src attribute to concatenate the strings "http://localhost:7001/servlet/ChartView ... p=pie&tmp=", $tmpVar and " width='18cm'".
Regards,
Sorin
Store the result of <xsl:apply-templates select='whatever'/> in an XSLT variable for example $tmpVar before the fo:external-graphic element. After that use the concat function in the value of the src attribute to concatenate the strings "http://localhost:7001/servlet/ChartView ... p=pie&tmp=", $tmpVar and " width='18cm'".
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service