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]

Re: [docbook-apps] Turn Off Generated Text from id attributes


Hi Tristan,
There is no parameter to turn off the label on the bibliography entries.
You can have it numbered by setting bibliography.numbered to 1, or it will
use the <abbrev> element or id attribute.  However, you can entirely turn
off the label on the bibliomixed or biblioentry elements by redefining this
template as empty:

<xsl:template name="biblioentry.label">
</xsl:template>

I'm not sure what you meant by using xref instead of link.
If you use xref, it will still display [Ref2] as the link text.  But you may
not want to use xref since that label will no longer be visible in the
bibliography.  The link element will work too.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Tristan Fiedler" <fiedler@cshl.edu>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, December 16, 2004 7:41 AM
Subject: [docbook-apps] Turn Off Generated Text from id attributes


> Hi All,
>
> If someone has a moment, could you please take a look at this.  I know
> that I can use 'xref' rather than 'link', but hopefully this can be
> done with link also.
>
> Thank you,
>
> Tristan
>
> Begin forwarded message:
> >
> > In the HTML output below generated with Saxon & a catalog files, does
> > a simple switch exist to get rid of the [Ref2] text which is inserted
> > in my HTML output after '<p class="bibliomixed">' ?
> >
> > DocBook XMLCode :
> >
> > <bibliomixed  id="Ref2">
> > <bibliomisc>Yochem, J. (2000). Mosaic analysis in
> > <emphasis>Caenorhabditis
> >         elegans</emphasis>. Methods Mol Biol </bibliomisc>
> > </bibliomixed>
> >
> > HTML output:
> >
> >          <div class="bibliomixed"><a name="Ref2"></a><p
> > class="bibliomixed">[Ref2]    <<<<<------      I do not want this
> > '[Ref2]' text to be generated.
> >                         <span class="bibliomisc">Yochem, J. (2000).
> > Mosaic analysis in <span class="emphasis"><em>Caenorhabditis
> >                                 elegans</em></span>. Methods Mol Biol
> > </span>
> >
> >             </p>
> >          </div>
>
>
>



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