Additional XML Tools
The XML tools are found in the application AbxXmlBasicToolsApp. The following tools and samples are provided:
AbxXmlDtdToSchemaFile
Convert a dtd file to a schema.
AbxXmlDtdToSchemaFile
createSchemaFileNamed: 'order.xsd'
fromDtdFileNamed: 'order.dtd'
AbxXmlDtdToMappingFile
Convert a dtd file to a mapping file.
AbxXmlDtdToMappingFile createMappingFileNamed: 'order-dtdtomap.map'
fromDtdFileNamed: order.dtd'
classPrefix: 'Jrc'
classSuffix: nil
defaultAttribute: nil
AbxXmlDtdToClass
Create Smalltalk classes based on the structure in a dtd file.
AbxXmlDtdToClass
createClassesFrom: 'order.dtd'
in: AbtXmlBasicSamples
classPrefix: 'Jrc'
classSuffix: nil.
AbxXmlSchemaToMappingFile
Convert a schema file to a mapping file.
AbxXmlSchemaToMappingFile
createMappingFileNamed: order.map'
fromSchemaFileNamed: 'order.xsd'
classPrefix: ''
classSuffix: ''
defaultAttribute: nil.
AbxXmlSchemaToClass
Create Smalltalk classes based on the structure in a schema file.
AbxXmlSchemaToClass new createClassesFrom: 'C:\Program Files\Instantiations\VA Smalltalk\12.0\xml\order.xsd'
in: SolSandbox replace: true.
AbxXmlApplicationToSchemaFile
Create a schema file based on the Smalltalk classes found in specific application(s) or class(es) .
AbxXmlApplicationToSchemaFile
createSchemaFileNamed: 'order.xsd'
from: AbtXmlBasicSamples.
AbxXmlApplicationToSchemaFile
createSchemaFileNamed: 'order.xsd'
fromClasses: (OrderedCollection with: JrcAddress
with: JrcCustomer
with: JrcCustomerID
with: JrcItem
with: JrcItems
with: JrcOrder).
Last modified date: 01/29/2015