How do I create an empty attribute NSXLNode?
How do I create an empty attribute NSXLNode?
- Subject: How do I create an empty attribute NSXLNode?
- From: "Mark Munz" <email@hidden>
- Date: Sun, 30 Sep 2007 20:54:44 -0700
I'm trying to parse some (x)HTML code using NSXMLDocument and am
trying to add an empty attribute such as 'checked' as in:
<input type=checkbox checked>My checkbox</input>
However, I can't seem to find a way to create an attribute without an
associated value. Am I missing something obvious here?
How do I create an NSXMLNode for the 'checked' attribute?
Many thanks in advance.
--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________
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