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?


Based on you e-mails and your recent e-mail to me and the docBook-apps
list, I would like to suggest a different approach, instead of making
incremental fixes.

Since you problem is to eleminate all non-docbook element, you could
use a two step process.

Create a template, that eleminates all non-docbook element. DocBook
elements are just copied using the following template.

<xsl:template match="@*|node()">
    <xsl:apply-templates select="@*"/>

You can then, when using saxon 6.5.3. pipe the result document to the
original docbook stylesheets, using the xsl:output element in your own

<xsl:output method="xml" indent="no"



On Tue, 23 Nov 2004, Tristan Fiedler wrote:

> Hi Jens,
> Did you know about the world famous cyclist "Jens Fiedler" ?
> Anyhow,  thanks for the info.  I had to adjust your syntax to :
> <xsl:template match="gene1|gene2|gene3">
>      <xsl:apply-templates/>
>       ----  here I removed "*"
> </xsl:template>
> 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]