This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: xref into another document?
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Michael Schuerig <schuerig at acm dot org>
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 27 Dec 2002 23:26:33 +0100
- Subject: Re: DOCBOOK: xref into another document?
- References: <200212272308.14504.schuerig@acm.org>
Michael Schuerig wrote:
>
> I'm using docbook-website to build my site and I'd like to create xrefs
> among pages. There's nothing special about website, so it comes down to
> creating xrefs into other documents.
Website stylesheets can deal with olinks:
You must at first declare external binary entity in internal subset:
<!ENTITY software SYSTEM "software.xml" NDATA XML>
and then reference it in olink:
<olink targetdocent="software" localinfo="emacs">Install Emacs</olink>
Entity "software" is used to get filename of HTML page which contains
content of software.xml file and "emacs" (content of localinfo) is used
to point to particular ID in this document.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz