What platform and which libraries are you intending to use?
e.g. Windows and COm, Windows and .NET, Unix and java?
How will you know where to append the node if the name "msgText" is not constant?
If you are intending this to be a SOAP message then I don't think your format is legal because the actual payload is not in a defined namespace.
--
Joe (
Microsoft MVP - XML)