xsl-list
[Top] [All Lists]

Re: removing a null namespace

2005-04-29 05:34:42
  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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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