This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
[docbook] Footnote problem
- From: Matej Cepl <cepl at surfbest dot net>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 1 Mar 2004 22:55:55 -0500
- Subject: [docbook] Footnote problem
- Organization: Northeastern University -- Law, Policy, & Society
Hi,
this is another newbie problem which I have failed so far to
solve. It is <footnote> element or "How to generate element
somewhere else". I tried this (very raw draft, of course it
would need polishing, but the basic issue is here):
<xsl:template match="footnote">
<xsl:element name="{/html/div[last()]}">
<xsl:attribute name="class">footnote</xsl:attribute>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
but it does generate an element without name with correct
attribute. What I am doing incorrectly?
Thanks,
Matej Cepl
--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Thank you for sending me a copy of your book; I'll waste no time
reading it.
-- Moses Hadas
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.