xsl-list
[Top] [All Lists]

xsl-list Digest 22 Feb 2006 06:10:00 -0000 Issue 698

2006-02-22 03:09:23
Hi there,
try this in your XSLt
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
 xmlns:targetNS="http://myNS.com";>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/"><xsl:apply-templates/></xsl:template>
<xsl:template match="@* | text()"><xsl:copy-of select="."/></xsl:template>
<xsl:template
match="*"><xsl:copy><xsl:apply-templates/></xsl:copy></xsl:template>
<xsl:template match="targetNS:*"/><!--This one removes all the elements with
the namespace prefix targetNS-->
</xsl:stylesheet>


--~------------------------------------------------------------------
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>
  • xsl-list Digest 22 Feb 2006 06:10:00 -0000 Issue 698, Tiscar Sebastien <=