This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Including titles with xrefs in XML
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Including titles with xrefs in XML
- From: Dennis Grace <dgrace at us dot ibm dot com>
- Date: Thu, 02 Aug 2001 18:03:32 -0500
According to Norm Walsh'sTDG, a reasonable rendering for an unadorned xref
should include a referenced chapter's title. In other words, if my second
chapter is tagged:
<chapter id="stuff">
<title>Stuff and Nonsense</title>
then an xref like so:
<xref linkend="ch2"/>
should be rendered:
Chapter 2, "Stuff and Nonsense"
I have not found this to be the case with either the 1.59 DSSSL or the 1.41
XSL. All I get is
Chapter 2
I found Jirka's archived explanation of how to add the title in with the
DSSSLs (which worked, incidentally). Does anyone know how to accomplish the
same via the XSLs?
Thanks.
Dennis Grace
IBM Information Developer
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
dgrace@us.ibm.com
If God dropped acid, would he see people?
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org