• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing attributes of XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing attributes of XML


  • Subject: Re: Accessing attributes of XML
  • From: "David Wilson" <email@hidden>
  • Date: Mon, 5 May 2008 19:00:39 -0400

On Mon, May 5, 2008 at 6:36 PM, Christian Graus
<email@hidden> 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

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.

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.
--
- David T. Wilson
email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Accessing attributes of XML
      • From: "Christian Graus" <email@hidden>
References: 
 >Accessing attributes of XML (From: "Christian Graus" <email@hidden>)
 >Re: Accessing attributes of XML (From: Jens Alfke <email@hidden>)
 >Re: Accessing attributes of XML (From: "Christian Graus" <email@hidden>)
 >Re: Accessing attributes of XML (From: Jens Alfke <email@hidden>)
 >Re: Accessing attributes of XML (From: "Christian Graus" <email@hidden>)

  • Prev by Date: Re: I Never get 'self' in Obj-C
  • Next by Date: Re: Trouble using NSMatrix with radiobuttons and using NSPopUp buttons
  • Previous by thread: Re: Accessing attributes of XML
  • Next by thread: Re: Accessing attributes of XML
  • Index(es):
    • Date
    • Thread