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]

Including titles with xrefs in XML


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


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