Parametric height
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 16
- Joined: Thu Mar 01, 2007 2:19 pm
Parametric height
Post by pedro.riky »
Hi all
how i can set the height contents parametrically?
content-height="35px" ----> content-height="myParametricHeight"
Thanks in advance
how i can set the height contents parametrically?
content-height="35px" ----> content-height="myParametricHeight"
Thanks in advance
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I think you cannot do that in XSL-FO as there are no parameters or variables as in XSLT.
Regards,
Sorin
I think you cannot do that in XSL-FO as there are no parameters or variables as in XSLT.
Regards,
Sorin
-
- Posts: 16
- Joined: Thu Mar 01, 2007 2:19 pm
Scaling image
Post by pedro.riky »
I found a solution
[/code]
Code: Select all
<fo:external-graphic scaling="uniform">
<xsl:attribute name="content-height">
<xsl:value-of select="concat(heading/logo-height,px)"/>
</xsl:attribute>
<xsl:attribute name="content-width">
<xsl:value-of select="concat(heading/logo-width,px)"/>
</xsl:attribute>
<xsl:attribute name="src">
<xsl:value-of select="heading/logo"/>
</xsl:attribute>
</fo:external-graphic>
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