• 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
Traversing an NSXML subtree
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Traversing an NSXML subtree


  • Subject: Traversing an NSXML subtree
  • From: "McLaughlin, Michael P." <email@hidden>
  • Date: Wed, 27 May 2009 16:14:24 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Traversing an NSXML subtree

In reviewing the NSXML documents, I found no really simple way to traverse a
subtree of an NSXMLDocument.  That is, traverse from the root until you hit
the node with the right name then pretend that that node is the root of a
smaller tree and traverse just the latter.  [Everything I found talked only
about sibs and (immediate) children, not grandchildren, etc.]

Since this is such a common thing to do, I'm guessing that I must have
misread the docs somehow.

Could someone clue me in as to the preferred method to do a subtraversal?

TIA.

--
Mike McLaughlin

_______________________________________________

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: Traversing an NSXML subtree
      • From: Justin Palmer <email@hidden>
    • Re: Traversing an NSXML subtree
      • From: Keith Duncan <email@hidden>
  • Prev by Date: Re: Bound NSPopUpButton + null at the beginning
  • Next by Date: Re: Using fmdb with Cocoa Bindings
  • Previous by thread: NSTextFieldCell Delegate?
  • Next by thread: Re: Traversing an NSXML subtree
  • Index(es):
    • Date
    • Thread