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

Re: How do I create an empty attribute NSXLNode?


  • Subject: Re: How do I create an empty attribute NSXLNode?
  • From: Charles Steinman <email@hidden>
  • Date: Sun, 30 Sep 2007 23:51:38 -0700 (PDT)

--- Mark Munz <email@hidden> wrote:

> 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>

Attributes like that aren't well-formed XML. They are
fine for HTML, but in XML (and thus in XHTML), it
should be <input type="checkbox" checked="checked">My
checkbox</input>.

Cheers,
Chuck



____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
_______________________________________________

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

References: 
 >How do I create an empty attribute NSXLNode? (From: "Mark Munz" <email@hidden>)

  • Prev by Date: Core Data - getting externally-created records [was getting fresh records]
  • Previous by thread: How do I create an empty attribute NSXLNode?
  • Next by thread: Core Data - getting externally-created records [was getting fresh records]
  • Index(es):
    • Date
    • Thread