> Thanks. Do you know if the difference is dramatic? Just curious, > especially since most "experts" eg Moock's books dont shy away from > node-heavy XML generally, but if there are serious performance > considerations you'd think they would.
I don't think the difference is dramatic. It may be noticeable in a very large XML file, but not dramatic. The thing to remember is that, while the XML classes are in machine language, and very efficient, you are parsing text, which is always inefficient. If performance is an issue, you want as little text (XML) as possible. The XML classes may be doing something under the hood to optimize that, but there's no getting away from the fact that accessing XML involves parsing text. The books on Flash may not be the best references for XML. They are oriented to teaching you ActionScript, and their XML structures are often driven more by what they are teaching than by XML best practices. If you really want to learn about preferred styles, and things like advantages of attributes vs. child nodes, I'd pick up a book specifically on XML. I'm afraid I can't recommend one--I've been doing XML so long I've lost touch with the references--but I'm sure some people here or over on Flash_Tiger can recommend good XML references. Cordially, Kerry Thompson _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

