On 08/25/2011 03:20 PM, Stefan Seefeld wrote:
>
> I'm attempting to build a pdf from docbook 5 sources using a customized
> conversion invoked by xxe.
>
> I have added
>
>    <parameterGroup name="db5.toPS.transformParameters">
>      <parameter
> name="target.database.document">path/to/sitemap.fo.xml</parameter>
>    </parameterGroup>
>
> to my db5.xxe config file, but I get the error
>
> Olink error: could not open target database 'path/to/sitemap.fo.xml'
>
> The sitemap.fo.xml file is located in the same directory as the DB sources.
>
>
> I tried both "sitemap.fo.xml", as well as
> <relative-path-from-xxe-config>/sitemap.fo.xml, but neither appears to work.
> What is the base URL or 'pwd' that the relative URL needs to take into
> account ?

There is no base URL or ``pwd'' in this case. You need to specify an 
absolute URL.

Fortunately, some of the macro-variables described here

http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process_variables.html

should help you in specifying this absolute path.

For example:

<parameter
   name="target.database.document">%p/sitemap.fo.xml</parameter>

%p is the URL of the folder containing the document being edited (that 
is, the directory containing your DB sources).
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to