Re: How do I create an empty attribute NSXLNode?
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