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


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-apps] 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-----

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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