I need to create files to feed into another system which will validate against it's own build-in schemas, so that the import file should include attribute xsi:schemaLocation for the schemas.
The desired root element for the schema is:
<ENTXML
xsi:schemaLocation="http://www.ENTXML.com/xml/ns/6.1/xcs/impex catalog.xsd
http://www.ENTXML.com/xml/ns/6.1/core/impex-dt dt.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.ENTXML.com/xml/ns/6.1/xcs/impex"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:dt=http://www.ENTXML.com/xml/ns/6.1/core/impex-dt>
The values/references for those attribute is static for every type of schema. How can i let Biztalk generate those attributes like the sample?
I tried set up attributes for the root element ENTXML, but get a warning saying xsi:schemaLocation is a reserved word in C#.
Can someone shed some light on it? Many thanks!