OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] namespace reprise

[ Lists Home | Date Index | Thread Index ]

 
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:mbatsis@humanmarkup.org] 
	Sent: Wed 8/21/2002 5:59 AM 
	To: Julian Reschke; xml-dev@lists.xml.org 
	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>
	
	





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS