I am using TRANG to generate an XMLSchema from a sample XML file.
The XML file contains this line:
TRANG should ignore the "xsi" namespace, instead it generates this line in the XMLSchema:
<xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>
TRANG also generates xsi.xsd.
Because TRANG is file-based, I cannot easily filter the xmlns:xsi attribute before giving the XML file to TRANG.
I am using TRANG to generate an XMLSchema from a sample XML file.
The XML file contains this line:
TRANG should ignore the "xsi" namespace, instead it generates this line in the XMLSchema:
<xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>
TRANG also generates xsi.xsd.
Because TRANG is file-based, I cannot easily filter the xmlns:xsi attribute before giving the XML file to TRANG.