|Jens Porup||Feb 17, 2005 9:26 pm|
|Bob Stayton||Feb 18, 2005 10:44 am|
|Jens Porup||Feb 22, 2005 7:25 pm|
|John L. Clark||Feb 22, 2005 7:56 pm||.pgp|
|Jens Porup||Feb 22, 2005 8:09 pm|
|John L. Clark||Feb 22, 2005 8:39 pm||.pgp|
|Jens Porup||Feb 22, 2005 8:42 pm|
|Jens Porup||Feb 22, 2005 9:08 pm|
|Bob Stayton||Feb 22, 2005 11:27 pm|
|Jens Porup||Feb 23, 2005 5:49 pm|
|Bob Stayton||Feb 23, 2005 6:12 pm|
|Jens Porup||Feb 23, 2005 10:01 pm|
|Bob Stayton||Feb 23, 2005 11:18 pm|
|Jens Porup||Feb 24, 2005 6:03 pm|
|Bob Stayton||Feb 25, 2005 12:51 pm|
|Subject:||Re: [docbook-apps] olinks with conditional processing|
|From:||Bob Stayton (bo...@sagehill.net)|
|Date:||Feb 22, 2005 11:27:15 pm|
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.
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:
Bob Stayton Sagehill Enterprises DocBook Consulting bo...@sagehill.net
----- Original Message ----- From: "Jens Porup" <je...@porup.com> To: <docb...@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?