Subject: Re: Deleted selected nodes from XSD - howto for Newbie needed
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Thu, 14 Apr 2005 10:53:10 -0700 (PDT)
|
Please try this XSL.. It is variation of identity
transform..
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" indent="yes" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()" />
</xsl:copy>
</xsl:template>
<xsl:template
match="*[starts-with(@name,'NodeToBeDeleted')]" />
</xsl:stylesheet>
Regards,
Mukul
--- Michael Lindenau
<michael.lindenau@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> I want to delete some unwanted nodes in an XML
> schema file.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
|