<Root> <Item1>Value</Item1> <Item2>Value</Item2> <DocAttachment> <AttachmentType>PI</AttachmentType> <AttachmentMemo>Print Image</AttachmentMemo> <AttachmentFileType>Text</AttachmentFileType> <AttachmentFileName>report80col.txt</AttachmentFileName> <EmbeddedAttachmentType>SGVsb..Base64..G8sIHRoaXM</EmbeddedAttachmentType> </DocAttachment> <DocAttachment> <AttachmentType>EN</AttachmentType> <AttachmentMemo>Estimator Notes</AttachmentMemo> <AttachmentFileType>Text</AttachmentFileType> <AttachmentFileName>estnotes.txt</AttachmentFileName> <EmbeddedAttachmentType>SGVsb..Base64..G8sIHRoaXM</EmbeddedAttachmentType> </DocAttachment> </Root>The element I need to add is the embeded attachment. This should be an element that is created under Root/DocAttachment/Content. On the version I have right now, I already did it. Basically, in order to reference a unique node, I added an additional branch under the Root for all attachments and added another branch to identify each attachment. So, in the first version I did, I have this specific node Root/Attachment/Report/DocAttachment/Content. As each attachment can be qualified with a fully node syntax, it is easy for me to add the element at the specific location I want in the XML.