[Home] [By Thread] [By Date] [Recent Entries]

Subject: xsl-list Digest 22 Feb 2006 06:10:00 -0000 Issue 698
From: Tiscar Sebastien <tiscars@xxxxxxxxxxxx>
Date: Wed, 22 Feb 2006 10:09:23 +0000
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>

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member