Re: XSL-FO & Images
I recommend to my students not to use url('uri-here') but to use url("uri-here") because URI syntax RFC 2396 section 2.3 allows a single quote in a URI ... if an authored URI has a single quote and the stylesheet creates an attribute with single quotes around the URI, then the single quotes in the parens are not properly balanced. RFC 2396 section 2.4.3 specifically excludes double quote in a URI, so I figure it is safe if my students use:
I hope this helps.
. . . . . . . . Ken
At 2005-04-18 17:35 +0100, David Carlisle wrote:
The syntax for the url attribute in xsl:external-graphic is src="url('filenamehere.jpg')" The url(' ...') is boilerplate ... (Note I omitted the ' in my suggested code last time) ... all the generated fo:external-graphics should generate a synatx error unless they all have url(' ') or if the processor does not enforce that, they should all work.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format