Overview The "Attribute" Element Table of
Contents

Describes an attribute of an XML element.

The Attribute element describes an attribute of an XML element, and how it is represented in the generated .Net class. You should include one Attribute element for each attribute of the element in your target XML structure.

Parent Elements

Definedefines a macro
ElementDescribes an XML element and the .Net class that models it.

Child Elements

NameHow ManyDescription
Description0 to 1This is a detailed description of the attribute. HTML markup may be used.
Summary0 to 1 This is a short summary description of the attribute. HTML markup may be used.
Type0 to 1Describes the data type of the attribute.

Attributes

default : stringoptional
Specifies the default (initial) value for the attribute. This value will be used to initialize the .Net variable. If not default is specified, the variable will not be initialized.

propName : stringoptional
The name of the .Net property that corresponds to this Attribute. If the propName attribute omitted, .Net source code for the property will not be generated.

required : booleanoptional
Specifies whether the attribute is required. Default = no.

varName : stringoptional
The name of the .Net variable that corresponds to this Attribute. If varName is not specified, it defaults to "_" (underscore) followed by propName.

xmlName : stringrequired
The name of the XML attribute as it will appear in the XML file.


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.