← Prev in month ← Prev in thread

olink and website - resend

From
Dave Pawson <>
Date
2008-02-15T15:54:07+00:00
ID
Thread
olink and website - resend
Since ths hasn't appeared on the list: This is a resend.
Sorry if you see it twice.


Given a group of source files

sect1
   a.xml
sect2
   b.xml

and I want to link from a.xml through to b.xml using olink:

http://docbook.sourceforge.net/release/website/example/linking.html#ftn.d47e22

suggests that the definition in a.xml should be

<!ENTITY linking SYSTEM "../b.xml" NDATA XML>


I'm assuming the full relative path is appropriate?
Is this correct please?
Or is it relative to the layout.xml file.... or some other base point
defined in a customization layer?
E.g.
<xsl:template name="olink-entity">
   <xsl:variable name="xmlfile"

select="document(unparsed-entity-uri(@targetdocent),$autolayout)"/>

which implies it is relative to the layout.xml file location?


I think my assumptions are OK if I put
1. All xml file locations relative to the 'base' location
where the layout.xml file is found.

Am I right please? If not where am I wrong?

TIA



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
← Prev in month ← Prev in thread