OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]