This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
XSL HTML stylesheets: no output for keywordset
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: XSL HTML stylesheets: no output for keywordset
- From: pilgrim_mark at yahoo dot com
- Date: Wed, 03 Jan 2001 05:52:50 -0800 (PST)
I'm having a problem generating META tags for my
<keywordset>. I traced the problem to head.content,
which takes $node from "*" mode="process.root" and
looks for an appropriate info child (bookinfo,
articleinfo, etc.) I do have an <articleinfo> defined
in my <article>, and the <articleinfo> contains a
<keywordset> which contains <keywords>. The XML
validates, but head.content does not find my
<articleinfo>, so $info ends up empty, so
apply-templates select="$info/keywordset" does
nothing.
While attempting to debug this, I noticed that
name($node) = '', so $node/articleinfo is empty. But
name($node/*) = 'article', and $node/*/articleinfo is
valid. If I change it so that $info looks for
$node/*/bookinfo|$node/*/articleinfo|etc., it works,
but this feels like a hack and is probably not the
correct solution.
Help?
-M
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/