xsl-list
[Top] [All Lists]

Re: copy-of all attributes except attributes from certain namespace

2004-04-28 00:43:05

<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(_at_)netsmart(_dot_)gr
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf




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