Hey Dan, An XML document needs to have a single root node...this is valid XML:
<contact> <address2 /> <foo1 /> <foo2 /> </contact> While this is not: <address2 /> <foo1 /> <foo2 /> If that's not the issue, can you reply and post an example invalid file? Thanks, Joe On Aug 23, 2007, at 11:09 AM, Dan Vega wrote: > I have an xml file that I am trying to parse and if there is no > data for an > element the file has an empty closing tag like so. > > > <address2/> > <foo1/> > <foo2/> > > When I try to parse the xml file I get the following error. > An error occured while Parsing an XML document. I thought this > was valid > xml? > > -- > Thank You > Dan Vega > [EMAIL PROTECTED] > http://www.danvega.org > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

