Josh Saddler <[EMAIL PROTECTED]> said: > If you're going for proper XML, then it should look like this: > > <flag name="png"/> > > XML doesn't put a space between the attribute and the closing slash -- > XHTML does. Common mistake. Also, use " for attributes, rather than '.
Well, if we want to nitpick, adding a space, tab, or newline is perfectly valid, as is using ' to quote the attribute. :) http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EmptyElemTag http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-AttValue -- Mark Loeser email - halcy0n AT gentoo DOT org email - mark AT halcy0n DOT com web - http://www.halcy0n.com
pgpSeDKKUaTpX.pgp
Description: PGP signature
