Hello,
I have a XSD with me and I have created a EGL record using File->New->Record->import XML Schema from File option, everything looks fine.
Based on the EGL record, I have manipulated the inputs for EGL record and trying to convert that as a string using inbuilt utility "XMLLib.convertToXML(EGLRecordName)"
In XSD I have the parms as
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xxxx.ibm.com/splm-service" xmlns:tns="http://xxxx.ibm.com/xxxx-service" elementFormDefault="qualified">
<element name="PartInquiryService">
<complexType>
<sequence>
<element name="control">
But in the result "XMLLib.convertToXML(EGLRecordName)", I see it bit different
<ns1:PartInquiryService xmlns:ns1="http://xxxx.ibm.com/splm-service">
<ns1:control>
All the tags are appended/prefixed with ns1:, how do I remove those from xml tag's and add other parms needs to be include, lets say I am looking for the XML with the below format
<?xml version="1.0" encoding="UTF-8"?>
<PartInquiryService xmlns="http://xxxx.ibm.com/xxxx-service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:SchemaLocation="http"//xxxx.ibm.com/xxxx-services ifle.xsd >
<control>
Thanks in advance.
navana