Altova XMLSpy 2024 Enterprise Edition

This class enables you to access information about classes generated from schema elements. Note that this class is not meant to provide dynamic information about particular instances of an element in an XML document. Instead, it enables you to obtain programmatically information about a particular element defined in the XML schema.

 

Methods

Name

Description

ComplexType GetDataType()

Returns the type of the element. Note that this is always a complex type even if declared as simple in the original schema. Use GetContentType() of the returned object to get the simple content type.

string_type GetLocalName()

Returns the local name of the element.

unsigned int GetMaxOccurs()

Returns the maxOccurs value defined in the schema.

unsigned int GetMinOccurs()

Returns the minOccurs value defined in the schema.

string_type GetNamespaceURI()

Returns the namespace URI of the element.

 

Operators

Name

Description

bool operator()

Returns true if this is not the NULL Element.

bool operator!()

Returns true if this is the NULL Element.

© 2017-2023 Altova GmbH