• 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
How do I create an empty attribute NSXLNode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do I create an empty attribute NSXLNode?
      • From: Charles Steinman <email@hidden>
  • Prev by Date: Distributed GUI
  • Next by Date: Core Data - getting externally-created records [was getting fresh records]
  • Previous by thread: Distributed GUI
  • Next by thread: Re: How do I create an empty attribute NSXLNode?
  • Index(es):
    • Date
    • Thread