docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: adding additional data to the olink database
- From: tom.kirkpatrick@virusbtn.com
- To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
- Date: Thu, 13 Oct 2005 14:53:53 +0100
I am currently using the olink database
file for some additional uses in my website (I use it to build a sitemap,
and to list the contents of particular directories). I want to use it to
generate a listing of all articles in a particular directory - which I
can do fine. The problem is that I need to access a little more information
about each document than what is provided in the olink sitemap. I would
like to have access to the abstract and author information. Currently I
am using XSL's document() function to open up each article to extract the
required data but I feel this is a little slow an inefficient, and I would
rather avoid having to open up each individual article just to access this
little bit of extra information.
Some of my articles use XIncludes to
include dynamic content, so whenever I do "document('path/to/docbook/document.xml')/article/articleinfo/abstract"
xsltproc processes all the Xincludes in the entire document, which puts
a heavy load on my server and slows things down a lot (because the server
is having to generate the dynamic content for each article, just to load
it into memory).
Is there a way to make the olink database
generation stylesheets include extra information?
or
Is there a way to tell xsltproc to not
process XIncludes (although I am not using xsltproc directly, but through
AxKit - a Cocoon style dynamic xml transformation pipeline framework, so
I do not think I will be able to tinker with xsltproc very easily)?
many thanks
--
Tom Kirkpatrick
Web Developer - Virus Bulletin
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]