FROM : chris.lists
DATE : Thu Feb 15 00:32:56 2007
So I have gone through the docs on NSXMLDocument, Node, and Element.
And I have some code that has been working for a while but is
completely based on index numbers parse through it. Here is a very
basic sample of what I am trying to do.
<root>
<child name="foo">
<tag>something</tag>
</child>
<child name="bar">
<tag>something else</tag>
</child>
</root>
What I want to do is grab the child node with the
attributeWithName@"region" stringValue:@"bar"
There just does not seem to be a method to do this that I can figure out.
DATE : Thu Feb 15 00:32:56 2007
So I have gone through the docs on NSXMLDocument, Node, and Element.
And I have some code that has been working for a while but is
completely based on index numbers parse through it. Here is a very
basic sample of what I am trying to do.
<root>
<child name="foo">
<tag>something</tag>
</child>
<child name="bar">
<tag>something else</tag>
</child>
</root>
What I want to do is grab the child node with the
attributeWithName@"region" stringValue:@"bar"
There just does not seem to be a method to do this that I can figure out.
| Related mails | Author | Date |
|---|---|---|
| chris.lists | Feb 15, 00:32 | |
| revolucent | Feb 15, 02:05 |






Cocoa mail archive

