Re: [xsl] name space troubles

Subject: Re: [xsl] name space troubles
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 27 May 2002 13:50:00 +0100
> but I would like to know if there is a way to copy just those namespaces I
> want from the source to the result.

<xsl:copy-of select="document('')/*/namespace::*[name()='thing' or name()='other-thing']"/>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread