David,
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:
src='url("uri-here")'
or
src="url("uri-here")"
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.
--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
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>
--~--