FOM Reference > DOM Support > XPath Extensions > fxAttributeDeclaration interface
  
fxAttributeDeclaration interface
The DTD attribute declaration.
xmlAttrDeclDefault enumeration
An integer describing the attribute default value type.
The xmlAttrDeclDefault enumeration has the following constants of type unsigned short.
TYPE_INIT = 0
The initialisation value.
TYPE_NONE = 1
The value for no default attribute declaration.
TYPE_REQUIRED = 2
The type for a required attribute.
TYPE_IMPLIED = 3
The type for the attribute not being required.
TYPE_FIXED = 4
The type for a fixed attribute value.
defaultType attribute
See xmlAttrDeclDefault group above for details.
defaultType
Access
read-only
Returns
unsigned short
defaultValue attribute
The default value of this attribute.
defaultValue
Access
read-only
Returns
String
elementName attribute
The name of the element holding this attribute.
elementName
Access
read-only
Returns
String
enumerationTree attribute
An array containing the list of enumerated attribute values.
enumerationTree
Access
read-only
Returns
fArray
type attribute
The type of the attribute declaration, see fxAttribute xmlAttributeDeclarationType.
type
Access
read-only
Returns
unsigned short