Re: [xsl] removing a null namespace

Subject: Re: [xsl] removing a null namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 29 Apr 2005 13:34:42 +0100
  Ah, I see!  So copy-of also copies the fact that the this element is in 
  rss, xsl, xhtml or whatever namespace rather than just a literal, 
  what-you-see-in-the-original copy?  That makes more sense, thank you.


to xpath the name of an element is a structured pair consisting of a
local name and a namespace uri, changing the namespace uri is the same 
type of thing as changing the local name, and in XSLT you code both by
essentially the same mechanism:
match on the old name and use xsl:element to generate a new node with a
new name.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread