Hi,
I am having a strange problem when creating a XML file. I am connecting to the Mainframe from Java using Websphere 3.5.7.
I am using the below mentioned code to create the XML file on the fly.
TagId.appendChild(doc.createTextNode(TagData));
ColHead.appendChild(TagId);
Template.ppendChild(ColHead);
root.appendChild(Template);
doc.appendChild(root)
The problem is the TagData which is the data for the XML is of length 110. When creating the XML, there is a new line charecter inserted into the data and the data also gets truncated.
Is there anyway i can resolve this issue?
I want the data as is from the database.
Please let me know. It is very urgent.
Thanks in advance.
Sriram
I am having a strange problem when creating a XML file. I am connecting to the Mainframe from Java using Websphere 3.5.7.
I am using the below mentioned code to create the XML file on the fly.
TagId.appendChild(doc.createTextNode(TagData));
ColHead.appendChild(TagId);
Template.ppendChild(ColHead);
root.appendChild(Template);
doc.appendChild(root)
The problem is the TagData which is the data for the XML is of length 110. When creating the XML, there is a new line charecter inserted into the data and the data also gets truncated.
Is there anyway i can resolve this issue?
I want the data as is from the database.
Please let me know. It is very urgent.
Thanks in advance.
Sriram