[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Clark notation in XPath

Subject: RE: Clark notation in XPath
From: "James Anderson" <janderson@xxxxxxxxxxxxx>
Date: Thu, 6 Oct 2005 18:11:56 +0200
clark notation
hello;

cl-xml has had a reader macro for that pretty much since the day it appeared.
such expressions (without respect to the particular {} syntax) make coding a lot
easier.

life gets very easy if one relaxes it a bit, to interpret the namespace
designator via a dynamic binding mechanism which recognizes a prefix if in the
appropriate context and treats namespace names as bindings which have indefinite
extent.

...

> -----Original Message-----
> From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
> Sent: Sunday, October 02, 2005 21.58
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Clark notation in XPath
>
>
> 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:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.