Just because I'm parsing XHTML using the XML parser in Flash doesn't mean that the XHTML is not following best practices. CDATA in XML is a best practice, but not in HTML. I'm using the Flash E4X parser to parse HTML, which, while technically possible, has its own set of challenges due to XML expecting XML not XHTML.

Rich Shupe wrote:
He may be working with a source he can't change, like your parsing HTML
without using CDATA tags.


On 7/2/08 1:56 PM, "Steven Sacks" <[EMAIL PROTECTED]> wrote:

You might want to try following XML standards and best practices by not
using hyphens in XML node or attribute names.

The only time I've seen hyphens in XML is when salespeople and other
laymen end up writing XML schemas.  Why they're ever given authority to
do such things is beyond me.

If it was me, I would fight tooth and nail to get those hyphens removed
and replaced with camel case.  Best practices or die!  ;)

Rich
http://www.LearningActionScript3.com


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to