On Tue, May 6, 2008 at 9:00 AM, David Wilson <[EMAIL PROTECTED]>
wrote:

> On Mon, May 5, 2008 at 6:36 PM, Christian Graus
> <[EMAIL PROTECTED]> wrote:
> >  Yeah, that's where I found the docs.  IMHO it's a real shame that a
> proper
> >  DOM implimentation is not available as standard.  I am familiar with
> XQuery,
> >  but I've never known anyone to use it, perhaps it's used more on Mac ?
> I'm
> >  just surprised to see Microsoft adhering to standards and Apple not
> doing
> >  so.
>
> Just to interject here, XPath/XQuery is, in fact, a standard:
> http://www.w3.org/TR/xpath



Hi David.  Yes, XPath and XQuery are two standards, I was referring to the
DOM, which, like SAX, is also a standard.


> <http://www.w3.org/TR/xpath>
>
> I'd imagine that the reason a DOM-style API is restricted to WebKit is
> that XPath/XQuery are intended to be generic XML access methods (and
> that's what they provide) where DOM is much more closely tied to web
> pages.
>


OK - I guess that may be the case in the Mac world, I can't argue with
that.  It is true that the DOM is very useful and often used within website
code.  However, I've used XML for many, many years in the Windows world,
across many languages, and my knowledge of the DOM has always followed me
and always been applicable.



>
> I had to pick up the XPath stuff recently for a project I was working
> on, and I've got to say that once you get yourself thinking in that
> way, it's really very nice for inspecting XML files, giving you great,
> readable control for grabbing segments out of the document and then
> inspecting or manipulating them.


Yes, XPath is very nice and very powerful, once you get the hang of it.

I confess to having an XQuery book that i've never read, because XPath has
always worked, and I've never worked on a project where anyone else saw a
need for XQuery.

Christian
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to