Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I create an empty attribute NSXLNode?



--- 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.