This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Ignore Non-DocBook tags?
- From: Jens Stavnstrup <js at ddre dot dk>
- To: Tristan Fiedler <fiedler at cshl dot edu>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 19 Nov 2004 20:51:34 +0100 (CET)
- Subject: Re: [docbook-apps] Ignore Non-DocBook tags?
- References: <5B68E17A-3A5E-11D9-A08E-000D933B5D9E@cshl.edu>
- Reply-to: Jens Stavnstrup <js at ddre dot dk>
Tristan,
In your customized stylesheet add this template
<xsl:template match="gene">
<xsl:value-off select="."/>
</xsl:template>
Regards,
Jens
On Fri, 19 Nov 2004, Tristan Fiedler wrote:
> Hi All,
>
> Thank you for the help! It makes the DocBook community a very nice
> place to work!
>
> I have a set of tags which are not DocBook, but are XML, and I want
> DocBook to ignore them. For example, below should ignore <gene> and
> </gene>, but keep the CLK-1 hot text. Whats the best way to do this?
>
> <para> The name
> <ulink url="http://www.weblink.org/db/gene/gene?name=clk-1">
> <gene grammar ='NNS' reference='direct'> CLK-1
> </gene>
> </ulink>
> should link to the proper page in wormbase.
> </para>
>
> should be "interpreted" as
>
> <para> The name
> <ulink url="http://www.weblink.org/db/gene/gene?name=clk-1">
> CLK-1
> </ulink>
> should link to the proper page in wormbase.
> </para>
>
>
> Cheers,
>
> Tristan
> ------------------------------
> Tristan J. Fiedler
> Postdoctoral Fellow - Stein Lab
> Cold Spring Harbor Laboratory
>
>
>