Overview The "Element" Element Table of
Contents

Describes an XML element and the .Net class that models it.

Parent Elements

SpecificationThe top-level element in the input file that encloses all other elements.

Child Elements

NameHow ManyDescription
Attribute0 to 32767 Describes an attribute of an XML element.
Child0 to 32767 Specifies a child of an XML element.
Content0 to 1 Specifies how the content of an element it is represented in the .Net class.
Description0 to 1A detailed description of the Element. HTML markup may be used.
DTD0 to 1 A DTD fragment. This is for documentational purposes only; it does not affect the generated .Net code.
Editor0 to 1 Contains information for the XML Chameleon editor. This information is not used by XmlCodGen.
Insert0 to 32767Inserts the contents of a previously defined macro.
Summary0 to 1A short summary description of the Element. HTML markup may be used.

Attributes

className : stringoptional
The name of the .Net class to be generated. Defaults to xmlName.

file : stringoptional
Specifies the name of the .Net source file in which this class will be be generated. The file extension will be added or replaced as needed (i.e. ".cs" or ".vb"). The same file name may be used for multiple elements and/or enums. If file is not specified, it defaults to className.

id : stringoptional
An optional unique id. Defaults to the same as xmlName. Use this when there are multiple elements with the same name.

unknownAttrs : enum (HandleUnknown)optional; default = "Default"
Specifies what to do with unrecognized XML attributes (ignore, error, or warning). If not specified, defaults to the value set in the Specification element.

unknownChildren : enum (HandleUnknown)optional; default = "Default"
Specifies what to do with unrecognized child elements (ignore, error, or warning). If not specified, defaults to the value set in the Specification element.

xmlName : stringrequired
The XML element name as it appears in an XML file. This is also the name of the .Net class, if that is not specified.


This documentation was generated by XmlCodGen version 0.2.1.37745 on Tue 18 Nov 2008 06:44 PM.
Software and documentation is copyright (c) 2006 by Edward L. Stauff. All rights reserved.