Re: [xsl] How to strip off all <xsd:annotation> ...</xsd.annotation> tags

Subject: Re: [xsl] How to strip off all <xsd:annotation> ...</xsd.annotation> tags
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 05 Aug 2009 15:22:48 +0200
Ben Stover wrote:
I would like to strip off from a XSD schema file all annotation tags. In other words all elements


should be eliminated from the XSD schema including when is inside such a tag.

How could I do this with a XSLT script?

<xsl:stylesheet xmlns:xsl=""; xmlns:xsd=""; version="1.0">

<xsl:template match="xsd:annotation"/>

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



	Martin Honnen

Current Thread