I have the following xml:

<root><foo>A foo.</foo> <bar>A bar.</bar></root>

Is there a way to access the whitespace-only NSXMLTextKind NSXMLNode?

I've also tried changing my document thusly:

<root xml:space="preserve"><foo>A foo.</foo> <bar>A bar.</bar></root>

I specify

NSXMLNodePreserveWhitespace

as my option to NSXMLDocument's

initWithXMLString:options:error:

selector.

Thanks!

-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
_______________________________________________

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 arch...@mail-archive.com

Reply via email to