The XMLC Command

Name

xmlc - Compiles XML or HTML files into Java classes.

Synopsis

   xmlc [options] [optfile.xmlc ...] docfile

Description

Compile a XML or HTML document into a class that can be used to generate a dynamically alter version of the document. An instance of the class is a DOM object heirarchy representation of the orginal document. The DOM document can then be dynamically modified in Java to add content or otherwise alter the document. Access methods, based on XML/HTML, identifiers are generated to allow for compile-time consistency checking between the document and an user of the generated class. A textual repesentation of the modified document can then be created from the DOM object. For details, see:

Options

Various options controlling the behavior of the compiler maybe specified on the command line or in or or more options files, identified by the .xmlc extension. The document file (docfile) is examine to determine if its an XML or HTML file. XML files must start with an XML prolog declaration (<?xml ...>).

The options for xmlc are:

Command options passed directly to javac are:

See also