Re: [xsl] copy-of all attributes except attributes from certain namespace

Subject: Re: [xsl] copy-of all attributes except attributes from certain namespace
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Wed, 28 Apr 2004 10:43:05 +0300
<xsl:copy-of select="@*[not(namespace-uri() = 'http://www.foo.org/ns')"/>

or

<xsl:copy-of select="@*[not(starts-with(name(), 'mynsp:'))"/>

Should work although I havent copied this from an actual file and havent had coffee yet.



--
Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr mailto:mbatsisSPAM_TRAP@xxxxxxxxxxx tel:+302103240940 http://forte.netsmart.gr/foaf/manos_foaf.rdf

Current Thread