Next in thread → Next in month →

RE: [docbook-apps] Problems with <?dbhtml> and graphics.

From
Mauritz Jeanson <>
Date
2008-02-22T18:31:20+00:00
ID
000001c87581$139a00f0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Problems with <?dbhtml> and graphics.
> -----Original Message-----
> From: Bob Stayton 

> > Your source document has no explicit base URI (there is no xml:base
> > attribute), and I think the parameter documentation could 
> be clearer about
> > what the interpretation is in this case. A source document 
> always has a 
> > base
> > URI, but unless it is specified with an xml:base attribute, 
> you don't have
> > access to it in XSLT 1.0.
> 
> Here is a bit more description of what goes on with XIncludes 
> and graphics:
> 
> http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludeGraphics


I don't think this helps. The problem stated in the original post does not
involve any XInclude processing.

The point I tried to make was this: the documentation for
keep.relative.image.uris does not say what the stylesheets do if there is no
base URI to resolve against. Setting the value to 0 happened to solve
Christian-Josef's problem. But it was not obvious that this should work,
since his source document does not have any xml:base attribute (and
therefore no XSLT-accessible base URI). 

/MJ
Next in thread → Next in month →