atom feed11 messages in org.oasis-open.lists.docbook-appsBase URI for result of transformation?
FromSent OnAttachments
Tony GrahamJul 28, 2006 12:22 pm 
Bob StaytonJul 29, 2006 11:53 am 
Stefan SeefeldAug 7, 2006 8:32 am 
Bob StaytonAug 8, 2006 1:28 am 
Stefan SeefeldAug 8, 2006 3:48 am 
Bob StaytonAug 8, 2006 11:19 am 
Stefan SeefeldAug 9, 2006 12:06 am 
Bob StaytonAug 9, 2006 12:38 am 
Stefan SeefeldAug 9, 2006 1:02 am 
Stefan SeefeldAug 9, 2006 4:40 am 
Tony GrahamAug 9, 2006 6:06 am 
Subject:Base URI for result of transformation?
From:Tony Graham (Tony@Sun.COM)
Date:Jul 28, 2006 12:22:46 pm
List:org.oasis-open.lists.docbook-apps

What is, or should be, the base URI (for purposes of resolving relative URIs in "url('...')") for an FO document that is the result of transforming an input XML document with the DocBook FO stylesheets?

I'm working on testing the xmlroff XSL formatter with the DocBook testdocs, which have relative URI references in them, and the relative URIs end up as "url('...')" in the FO document.

To make matters worse, the relative URIs don't resolve from the test docs anyway. For example, if 'docbook-testdocs-1.1/tests/stamp.001.xml' refers to 'graphics/stamp.png', the actual 'stamp.png' is in the testdocs distribution as 'docbook-testdocs-1.1/graphics/stamp.png', not as 'docbook-testdocs-1.1/tests/graphics/stamp.png'.

I can rearrange the testdocs (or add symbolic links) so relative URIs resolve, but that still leaves me wondering about what the correct base URI for the FO document that is the result of a transformation.

Is it:

- The current directory?

- The directory of the input XML document?

- The directory of the input XSLT stylesheet?

- None?

- Something else?

Regards,

Tony.