This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Completely failing to understand OLink
- To: docbook-apps at lists dot oasis-open dot org, nik at nothing-going-on dot demon dot co dot uk
- Subject: Re: DOCBOOK-APPS: Completely failing to understand OLink
- From: Bob Stayton <bobs at sco dot COM>
- Date: Thu, 18 May 2000 14:48:23 PDT
Norm to the rescue, again.
He wrote a tuturial on OLink, available at:
http://nwalsh.com/docbook/dsssl/olinksemantics.html
It may answer your questions.
bobs
> From: Nik Clayton <nik@nothing-going-on.demon.co.uk>
>
> Sorry about this. I've been working my way through the docs and trying to
> come up with some examples of my own, but it all fails horribly.
>
> I'm looking for examples of using OLink. Specifically, I've got two
> documents (A and B) and I need to link from A to B.
>
> Both of them are being converted to HTML, and both of them are converted
> to chunked and non-chunked (i.e., multiple HTML files, and one big HTML
> file) formats. Oh, and I really don't want to have to use a public FPI
> to refer to B, I'd rather use a SYSTEM one.
>
> I've got as far as this in "A" (and "B" is in ../handbook/book.sgml)
>
> <DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
>
> <!ENTITY otherdoc SYSTEM "../handbook/book.sgml">
> ]>
>
> <article>
> ...
>
> <docinfo>
> <modespec id="otherms">../handbook/</modespec>
> </docinfo>
>
> ...
>
> <para><olink targetdocent="otherdoc" linkmode="otherms"
> localinfo="id-to-link-to"></olink></para>
>
> ...
> </article>
>
> I've also used olink.dsl to create book.olink in the handbook/ directory.
> However Jade spits out
>
> "otherdoc" is not a data or subdocument entity
>
> when I try to build the HTML file, and things go downhill from there.
>
> Has anyone got things working with this sort of set up?
>
> N
> --
> Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95.
> Telephone line, $24.95 a month. Software, free. USENET transmission,
> hundreds if not thousands of dollars. Thinking before posting, priceless.
> Somethings in life you can't buy. For everything else, there's MasterCard.
> -- Graham Reed, in the Scary Devil Monastery