On Mar 12, 4:54 pm, Joe Kesselman <keshlam-nos...@comcast.netwrote:
Quote:
Quote:
XML Parsing Error: junk after document element
>
An XML document must have one, and only one, top level element. You
can't append to it; you have to actually read the document in and
process it properly, inserting the new structure in a place that makes
sense syntactically.
>
Or -- a sloppy workaround, but sometimes useful -- don't append to your
top-level document, but to an External Parsed Entity which is referenced
by your document. External entities *can* be document fragments and have
multiple top-level elements, if they're referenced in an appropriate place.
>
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Thanks for the response Joe.
After rereading my post, I am realizing this isn't an XML issue.
I understand that my document isn't well-formed, I guess I am
trying to figure out how to prevent the event handler from recreating
the XML and hence, causing the "junk" error. I think this is a
VB.NET issue. I'll repost. Thanks...