Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Clark notation in XPath

From: Oleg Tkachenko <oleg@------------->
To:
Date: 10/3/2005 10:15:00 AM
Jirka Kosek wrote:



I bet that anyone who need to do more then one query would not like this 
syntax.

It's sure more verbose, but what about (proposed recently by Microsoft):



const string myns = "{http://myDomain.co.uk/namespaces/ns1}"
MyDom.select(myns + "myElement")

Here myns variable actually serves as an alias for a namespace name. One 
of problems here is that it's getting uglier once you've got more than 
one selection step.



However it wouldn't be bad if some future version of XML (and XPath) 
allowed to use Clarks notation everywhere where QName is allowed. But 
this will hardly happen I think.

I wonder why?



--
Oleg Tkachenko
http://www.xmllab.net
http://blog.tkachenko.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent