[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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:mbatsis@h...] Sent: Wed 8/21/2002 5:59 AM To: Julian Reschke; xml-dev@l... Cc: Subject: Re: 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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|