Hi David: > <?xml version="1.0" ?> > <document type="db download"> > > <packages total_weight="15.8" total_packages="1"> > <package length="147" width="5" height="5" weight="15.8"/> > </packages>
That's not well-formed (valid) because there should be a closing </document> tag at the end. > I was expecting each attribute and node to have it's own <> and </>, and > the data not to be surround by double-quotes or am I missing something? As others have mentioned, XML has "elements" (the stuff using <> and </>) and "attributes" (the stuff inside the opening or empty element that use the name="value" format). --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php