W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: DOM and Xptrs

From: Jonathan Robie <jonathan@texcel.no>
Date: Thu, 06 Aug 1998 16:20:47 -0400
Message-Id: <>
To: Ted Bashor <bashor@crossroute.com>
Cc: www-dom@w3.org
At 10:32 AM 8/6/98 -0700, Ted Bashor wrote:

>I was wondering if someone could comment on the relationship of the
>current DOM API and the XPointer spec.

It must be possible to implement XPointers on top of the DOM. That does not
mean that the DOM has to provide an XPointer API. And certainly not in
Level 1!

>I was sort of expecting that the DOM, in particular its ECMA script
>bindings, would include accessor methods like 
>an_element.child(2, "foo"), etc.

Personally, I might prefer to have a function that executes an entire
XPointer - I see no point to having the ECMA masquerade as XPointers when
XPointer notation can do that itself. If I were to implement something like
this, I might prefer something like this:


The Java or ECMA script code need not mimic the structure of the XPointer
syntax, it can just use it as a parameter. But we're not working on that.

>Was this not done because A) not enough time B) it doesn't belong in
>level 1 C) the XPointer api sucks D) the XPointer api is expected to
>change E) other?

We've been working on other things. XPointer is a lower priority than the
things we've managed to finish so far.

Texcel Research
Received on Thursday, 6 August 1998 16:20:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC