Hello everyone:
I'm using XML Schemas for syndicating data, however, I need to add a namespace for XI to catch the xml and distribute the data.
The xsd file is:
<?xml version="1.0" encoding="UTF-8"?>
http://www.w3.org/2001/XMLSchema" xmlns:ns="
http://sap.com/xi/XI/MyDemos/DemoADD">
<xsd:element name="MsgTypeSynFADIC0">
<xsd:complexType>
<xsd:sequence>
<!-- my data -->
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
and I get something like this:
<?xml version="1.0" ?>
http://sap.com/xi/XI/MyDemos/DemoADD">
<!-- my data -->
</MsgTypeSynFADIC0>
however, I need something like this:
http://sap.com/xi/XI/MyDemos/DemoADD">
<!-- my data -->
</ns:MsgTypeSynFADIC0>
So I need the nd: prefix before the rootElement. I've tried XML/XSD editors but when I feed Syndicator with those the rootElement desapears and I can't create a Syndication File.
What can I add to the schema file so I get the ns: prefix?
Thanks
Regards
Alejandro
Add comment