[xsl] Clark notation in XPath

Subject: [xsl] Clark notation in XPath
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Sun, 2 Oct 2005 11:08:12 -0700
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