Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Clark notation in XPath

From: "Michael Kay" <mike@------------>
To:
Date: 10/2/2005 7:58:00 PM
I have thought for a long time that it would be a good idea to allow such a
notation (a) in source XML, (b) in XPath expressions, and (c) in the lexical
space of the xs:QName data type; but I haven't had much success in
persuading anyone. 

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Joe Fawcett [mailto:joefawcett@xxxxxxxxxxx] 
> Sent: 02 October 2005 19:08
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Clark notation in XPath
> 
> Dear All
> 
> I was talking to someone at Microsoft last week about greater 
> adoption of XML in 
> general and some of the things people struggle with.
> 
> One idea was to allow Clark notation when doing searches on 
> documents as 
> developers seem to struggle with the idea that that don't 
> need to know the 
> actual prefix used in a document.
> 
> Let's say I have in memory a document that has all elements in the 
> http://myDomain.co.uk/namespaces/ns1 namespace.
> I can select an element using the xpath:
> 
> MyDom.select("{http://myDomain.co.uk/namespaces/ns1}myElement")
> 
> Of course this is not standard but I'm sure similar ideas 
> have been mooted in 
> the past so I'd appreciate your comments.
> 
> Joe


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