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: Re: [docbook-apps] olinks with conditional processing


Hi Jens,
XIncludes are not generally a problem with olinking.  In fact, that
combination is often used for modular content files.

Olinking is not automatic.  It requires some careful set up, and some
attention to using the parameters to make sure the olink data is available
at processing time. For example, your command line does not specify a
target.database.document parameter.  I suggest you read through this doc and
carefully follow the steps. I'll bet you can get your olinks working.

http://www.sagehill.net/docbookxsl/Olinking.html#LinkBetweenDocs

Since you are doing profiling, you will need to maintain separate olink data
for each profile.  This section describes why that is necessary and how to
do it:

http://www.sagehill.net/docbookxsl/OlinkVariations.html#ProfilingOlinks


Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Jens Porup" <jens@porup.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, February 22, 2005 9:08 PM
Subject: Re: [docbook-apps] olinks with conditional processing


> On Tue, Feb 22, 2005 at 08:40:05PM -0800, John L. Clark wrote:
> >  xsltproc --output temp.html.xml \
> >   --xinclude \
> >  --stringparam profile.condition html \
> >  /usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \
> >  ../tech_spec.xml; \
> >  xsltproc \
> >  --stringparam use.id.as.filename 1 \
> >  --stringparam spacing.paras 1 \
> >  --stringparam make.valid.html 1 \
> >  --stringparam chunker.output.indent yes \
> >  /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl \
> >  temp.html.xml;
>
> >From browsing the docbook documentation, it looks as though I've painted
> myself into a bit of a corner on this one.
>
> Because I'm using two-pass processing to get my conditionals to work,
> all my olinks break as the result of my using an Xinclude.
>
> I've tried adding things like
>
>         --stringparam targets.filename "html.profile.db" \
>
> to my make target, but I'm not clear what, exactly, that is supposed to
> do--I'm already creating an interim file, temp.html.xml (and
> temp.pdf.xml) for that purpose.
>
> How do I make my olinks stop breaking?
>
> Thanks,
>
> Jens
>
>




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