spr wrote:
I have been able to customize the header and footer, but unable to put right
information where I need.
Have tried to access them by these:
xsl:value-of select=ancestor-or-self::d:book/d:info/d:title/
xsl:value-of select=ancestor-or-self::book/info/title/
xsl:value-of
I am using fop-0.94 with docbook-xsl-1.73.2 no additional xslt.
The command-line is:
fop-0.94\fop.bat -xml input\test\index.xml -xsl custom\test-header.xsl -pdf
output\test\test.pdf
Even if name spaces are stripped, I believe either of these should be
successful:
xsl:value-of
spr wrote:
I am using fop-0.94 with docbook-xsl-1.73.2 no additional xslt.
The command-line is:
fop-0.94\fop.bat -xml input\test\index.xml -xsl custom\test-header.xsl -pdf
output\test\test.pdf
Even if name spaces are stripped, I believe either of these should be
successful:
xsl:value-of
Yes, they are xslt instructions in test-header.xsl.
I might be missing something... to not understand your comments fully.
I did attach test-header.xsl' in the original message.
see : http://www.nabble.com/file/p12976720/test-header.xsl
Can you tell mw what I should look for?
~spr
Dave
Great!
It had to be as simple as this :)
~spr
Bob Stayton wrote:
Hi,
The basic problem seems to be mixing namespaced patterns with the
non-namespaced stylesheets. Your test-header.xsl has:
xsl:import
href= ../docbook-xsl-1.73.2/fo/docbook.xsl /
which imports the
-Original Message-
From: Bob Stayton
As it is, the
root template
of the non-namespaced stylesheet strips off the namespaces in your
document, so they won't match the patterns you have specified.
Another thing that happens during the namespace-stripping process is that
info