OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Ignore Non-DocBook tags?


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]