> At which side appears your problem? Is it at the point of extracting > partial xml content (sender), or at the other end eliminating the > transport envelope (receiver)?
It appears on the receiver side. The receiver uses a dom tree, the sender works on its own custom tree and serializes parts of the tree to xml. > In any case, you use a sax parser (I guess, because the dom parser would > > be overskill). But with a sax parser, it is easy to ignore the specific > > validation error caused by the root tag (just plug in your own error > handler). I use the dom parser. The idea is to create the dom tree and then move the root node from the new dom tree to the existing one. This was the obvious way to me to do it, because I never used the sax parser. (It works for non-validated xml files, but this would allow the sender to insert invalid data into the tree.) Regards, Bernhard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
