OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]