RE: [xml-dev] namespace reprise

From
Dare Obasanjo <>
To
"Emmanuil Batsis (Manos)" <>, Julian Reschke <>,
Date
2002-08-21T14:17:25Z
ID
<>
Thread
RE: [xml-dev] namespace reprise
There's nothing special about the default namespace. If you're XML processing depends on giving the default namespace special semantics then you misunderstand how Namespaces in XML works. 

	-----Original Message----- 
	From: Emmanuil Batsis (Manos) [mailto:] 
	Sent: Wed 8/21/2002 5:59 AM 
	To: Julian Reschke;  
	Cc: 
	Subject: Re: [xml-dev] namespace reprise
	
	

	
	Heh. The namespace axis wont tell you it's the *default* namespace so
	you don't know if you have already handled that for the contect node (or
	one of it's ancestors).
	
	Stuff like
	
	<xsl:if test="not(ancestor::*[namespace-uri()=$nsUri]) and $nsUri != ''">
	 <xsl:apply-templates select="." mode="ns-resolve"/>
	</xsl:if>
	
	are irritating.
	
	Manos
	
	
	-----------------------------------------------------------------
	The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
	initiative of OASIS <http://www.oasis-open.org>
	
	The list archives are at http://lists.xml.org/archives/xml-dev/
	
	To subscribe or unsubscribe from this list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>