xsl-list
[Top] [All Lists]

Re: [xsl] [xsl-fo] Select background image from xml file

2011-12-16 16:04:29
Ah, perfect. Thank you!

On Fri, Dec 16, 2011 at 4:03 PM, G. Ken Holman
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
At 2011-12-16 15:56 -0600, Colin DeClue wrote:

Hmm. I'm using Antenna House and generating an xml file, and just
passing that and a saved xsl file to the api with the .net
integration.If there's away to use parameters with this set up, I'm
not sure what is.


If the information is found in your input XML, then simply use the XPath
address to inject the file name:

 background-image='url("{/path/in/XML/to/image/filename}")'


I hope this helps.

. . . . . . . . . . Ken


--
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(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>