Hi

I am trying to convert a xml sample which has multiple namespaces using 
xmlbeans inst2xsd java API.
The generated xsd does not look correct?
Source XML :

<?xml version="1.0" encoding="UTF-8"?>
<abc xmlns:h="http://www.w3.org/TR/html4/"; 
xmlns:f="http://www.w3schools.com/furniture"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                <f:table>
                                <f:name>African Coffee Table</f:name>
                                <f:width>80</f:width>
                                <f:length>120</f:length>
                </f:table>
                <h:table>
                                <h:tr>
                                                <h:td>Apples</h:td>
                                                <h:td>Bananas</h:td>
                                </h:tr>
                </h:table>
</abc>

The generated XSD contains only f: table and does not produce element 
definition for root element abc.
Is there any way to handle the multiple namespaces in xmlbeans ?


Thanks
Narayan

Reply via email to