xsl-list
[Top] [All Lists]

Re: Deleted selected nodes from XSD - howto for Newbie needed

2005-04-14 10:53:10
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(_dot_)lindenau(_at_)loesungen-und-ideen(_dot_)de> 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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>