jasminemerc
IS-IT--Management
Hi Guys,
I have problem with mapping XML data. I have created this typetree by importing a DTD and tried to use it. I works fine if I don't have CDATA wrappers in the data but fails if the data has CDATA wrapper. For example, if I run this data through the xml typetree, its failing.
PART OF DATA which has CDATA wrapper
<PICKHEADER>
<DOCTYPE>0</DOCTYPE>
<DOCUMENTID><![CDATA[abc]]></DOCUMENTID>
<DOCKID><![CDATA[]]></DOCKID>
<SHIPPOINT><![CDATA[]]></SHIPPOINT>
For the same document, if I remove the CDATA wrapper then it works fine. I am not sure how to add CDATA wrapper to the typetree.
Also I have used different tools(XMLSPY, EDITX, STYLUS..) to create the DTD from the XML Data( which has CDATAs) but no use.
Please suggest me how to do this.
I have problem with mapping XML data. I have created this typetree by importing a DTD and tried to use it. I works fine if I don't have CDATA wrappers in the data but fails if the data has CDATA wrapper. For example, if I run this data through the xml typetree, its failing.
PART OF DATA which has CDATA wrapper
<PICKHEADER>
<DOCTYPE>0</DOCTYPE>
<DOCUMENTID><![CDATA[abc]]></DOCUMENTID>
<DOCKID><![CDATA[]]></DOCKID>
<SHIPPOINT><![CDATA[]]></SHIPPOINT>
For the same document, if I remove the CDATA wrapper then it works fine. I am not sure how to add CDATA wrapper to the typetree.
Also I have used different tools(XMLSPY, EDITX, STYLUS..) to create the DTD from the XML Data( which has CDATAs) but no use.
Please suggest me how to do this.