If not for a DTD, how do you know that the whitepsace between </color> and <size> is ignorable? If <car> contains mixed content, it wouldn't be ignorable.
I guess I'm starting to understand that, even though it frustrates me to no end. When dealing with XML as a data format (read: data, not markup like html, or other documents) there's rarely mixed content. Or at least, it's the exception to the rule. In any case, I was hoping I'm not the only person who's had this frustration when trying to deal with XML as a data format. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user