This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] Footnote problem


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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]