Subject: Re: [xsl] [xsl-fo] Select background image from xml file From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 16 Dec 2011 16:41:50 -0500 |
Hey guys,
I'm trying to have a background image over the entire page for a report I'm doing, but I need to have the xml determine what the background image should be. Is there an easy way I can do that? Currently, I have:
<fo:simple-page-master master-name="first" page-width="8.5in" page-height="11in" margin-top="0.13in" margin-bottom="0.25in" margin-left="0.175in" margin-right="0.25in" background-image="Bol2.png">
The Bol2.png part I want to be a uri I pass in.
<xsl:param name="bgimage"/> ... background-image='url("{$bgimage}")'
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] [xsl-fo] Select background im, Colin DeClue | Thread | Re: [xsl] [xsl-fo] Select backgroun, Colin DeClue |
[xsl] [xsl-fo] Select background im, Colin DeClue | Date | Re: [xsl] [xsl-fo] Select backgroun, Colin DeClue |
Month |