Model Build File Export to XML
NMS has two utilities for exporting model data files to XML. The resulting .xml file is defined by the mb.xsd XML schema file, which is found in
$NMS_BASE/product/sql/.
MB Export to XML
To export an existing .mb file to XML, use the following command:
Usage:
mb2xml [-debug][-partitionClasses class_names ...]
-classDirectory [class_directory_paths]
-xml [xml-file] -mb [mb-file]
 
Options
Arguments
Description
-debug
 
enable debugging
-partitionClasses
class_names
additional partition class name(s)
-classDirectory
class_directory_paths
directories to find class file(s)
-xml
xml-file
output xml file name
-mb
mb-file
input mb file name
Note: Recall that the resulting .xml file is defined by the XML schema file:
$NMS_BASE/product/sql/mb.xsd.
Schematic Data Export to XML
The schematic data file export takes a .mad file and exports it to XML.
Usage:
maa2xml [-debug] -classDirectory class_directory_paths
-xml xml-file -maa maa-file
 
Options
Arguments
Description
-debug
 
enable debugging
-classDirectory
class_directory_paths
directories to find class file(s)
-xml
xml-file
output xml file name
-maa
maa-file
input maa file name
Note: Recall that the resulting .xml file is defined by the XML schema file:
$NMS_BASE/product/sql/mb.xsd.