Hi again,

What approach would be best to create this particular part of the document.
As mentioned before, the element will contain any number of well formed
documents.
In my case, I have 2 documents to add to the MessageText.    These documents
are created independently.  Any attempt to add the 2 documents to the
MessageText, results in them being wrapped in a CDATA.  Ideally, what I
would like is something like this.

<MessageText>
  <ah:AppHdr xmlns:ah="urn:swift:xsd:$ahV10">
    <ah:From>
      <ah:Type>ei Type From</ah:Type>
      <ah:Id>ei ID From</ah:Id>
    </ah:From>
  </ah:AppHdr>
  <Doc:Document xmlns:Doc="urn:swift:xsd:swift.if.ia$setr.010.001.02">
    <Doc:MstrRef>the Master Reference</Doc:MstrRef>
  </Doc:Document>
</MessageText>


Again, many thanks in advance.

Nirmal

--
View this message in context: 
http://www.nabble.com/%3Cxml-fragment%3E-containing-well-formed-XML-Documents-t1480526.html#a4136239
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to