Well, you can use a template such as the following:
<xsl:template match="a | b">
<xsl:apply-templates/>
</xsl:template>
This matches on either element <a> or element <b>, does nothing special for
them, and then applies templates to all of their children.
This will cover the situations where apply-templates is used on all
children. But as my other mail inlinemediaobject mentioned, some templates
don't use apply-templates on all children.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "Tristan Fiedler" <>
To: <>
Sent: Monday, November 22, 2004 3:34 PM
Subject: [docbook-apps] Ignoring NonDocBook tags, take 2
> A set of non-DocBook XML tags are nested in my DocBook article.
>
> I am trying to modify the stylesheet with no success.
>
> What is the proper method to completely ignore a set of tags such as
> <a attrib=test1>, </a>
> <b attrib=test2>, </b>
>
> but keep any text & valid DocBook tags with may be interspersed among
> these nonDocBook tags?
>
> Cheers,
>
> Tristan
> ------------------------------
> Tristan J. Fiedler
> Postdoctoral Fellow - Stein Lab
> Cold Spring Harbor Laboratory
>
>
>