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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: Customizing "user.footer.content"...


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[ Follow-ups to docbook-apps, please. ]

/ Giuseppe Greco <giuseppe.greco@agamura.com> was heard to say:
| Hi all,
|
| to modify the footers of HTML document, one has just
| to override "user.footer.content like this:
|
| <xsl:templatea tag pair like this name="user.footer.content">
|   <b>bla bla</b>
| </xsl:template>
|
| Well, giving a document that contains something like this
|
| ...
| <copyright>
|   <year>2003</year>
|   <holder>My Company Name</holder>
| </copyright>
| ...
|
| how can I include copyright assert and holder in
| "user.footer.content"?

<xsl:template name="user.footer.content">
  <b>bla blah</b>
  <xsl:apply-templates select="/article/articleinfo/copyright"/>
</xsl:template>

Modified as necessary depending on what the root element of your
document is. You might even use //copyright[1], if you know you'll
only have one copyright statement.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | Impatient people always arrive too
http://www.oasis-open.org/docbook/ | late.--Jean Dutourd
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+ylx+OyltUcwYWjsRAurMAKChvEj7njE3OJ5UItSx4MwGFWNT2ACgrLHu
uZl/DZXnEBFHpVA0oNxlmd0=
=ApGf
-----END PGP SIGNATURE-----


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