Page 1 of 1

Convert 'include' to 'import'

Posted: Fri Oct 22, 2010 3:35 am
by bobm
I would like to change my include statements to imports, I'm aware that I'll need to go into the imported schemas and change the namespaces (which is what I'm trying to do).

Does anyone know of a way to do a transformation where the 'included' attributes, elements, types will get prefixed with a namespace?

for example:

<xs:attributeGroup ref="OTA_PayloadStdAttributes"/>

would become:

<xs:attributeGroup ref="ota:OTA_PayloadStdAttributes"/>

when I change:

<xs:schema xmlns:xs="" xmlns="" >

to be xmlns:ota