W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > May 2007

Re: More checked into CVS

From: Roland Gülle <roland@7val.com>
Date: Tue, 15 May 2007 11:53:04 +0200
Message-Id: <5028EBCC-E86D-496E-AA1D-8DAF217F68B0@7val.com>
Cc: public-mobileok-checker@w3.org
To: Jo Rabin <jrabin@mtld.mobi>

>> <xsl:stylesheet version="1.0"
>>                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> 	xmlns:xmlns="http://moki.mobi/2007/v0.1">
> Shouldn't we actually be setting the default namespace by
> xmlns="http://moki.mobi/2007/v0.1" rather than by   
> xmlns:xmlns="http://moki.mobi/2007/v0.1"?
OK, to generate this as output namespace works, but using this in my  
XPath will not work.

To use the namespaces in my XPath, I use (not regarding any namespace  
<xsl:stylesheet... xmlns:moki="http://moki.mobi/2007/ 
v0.1" ...xmlns="http://moki.mobi/2007/v0.1">
to use XPath like:

But is there an issue with the _real_ document namespaces?
In this example, the document has an empty namespace:
   <html xmlns="">
What if the document uses different/other namespaces?

Should we always use 'namespace-safe' XPath (//*[local-name() =  
Should namespaces be removed by the 'moki doc generator' inside the  

Received on Tuesday, 15 May 2007 09:53:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:18 UTC