An ASN.1 module name is mapped to an XML schema namespace. ASN.1 IMPORT statements are mapped to XSD import statements. The ASN.1 EXPORT statement does not have a corresponding construct in XSD.
The general form of the XSD namespace and import statements would be as follows:
<?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="URL/ModuleName" <!-- following line would be added for each imported module namespace --> xmlns:ImportedModuleName="importURL/ImportedModuleName" elementFormDefault="qualified"> <xsd:import namespace="importURL/ImportedModuleName" schemaLocation="ImportedModuleName.xsd"/>
In this definition, the items in italics would be replaced with text from the ASN.1 specification being converted or a configuration file. The ModuleName and ImportedModuleName items would come from the ASN.1 specification. The URL and importURL items would be configuration parameters.