Document context

2008-09-19 Thread Apparao Mulpuri
Hi,

I am little confused with the method + (id)elementWithName:(NSString
*)name in NSXMLNode. Is this method will create a new node with in the
current document context or outside of any document context?.

In the Xcode documentation, apple didn't mention about the document context.

- Apparao Mulpuri.
___

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]


Re: Document context

2008-09-19 Thread Nathan Kinsinger

On Sep 19, 2008, at 12:05 AM, Apparao Mulpuri wrote:


Hi,

I am little confused with the method + (id)elementWithName:(NSString
*)name in NSXMLNode. Is this method will create a new node with in the
current document context or outside of any document context?.

In the Xcode documentation, apple didn't mention about the document  
context.


- Apparao Mulpuri.


Outside of any document. You will get an NSXMLElement with no parent.

--Nathan



___

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]