Altova MapForce 2024 Professional Edition

When code is generated from an XML schema, a class such as this one is created for each member attribute of a type.

 

Methods

Name

Description

bool exists()

Returns true if the attribute exists.

int GetEnumerationValue()

Generated for enumeration types only. Returns one of the constants generated for the possible values, or "Invalid" if the value does not match any of the enumerated values in the schema.

altova::meta::Attribute info()

Returns an object for querying schema information (see altova::meta::Attribute).

void remove()

Removes the attribute from its parent element.

void SetEnumerationValue(int)

Generated for enumeration types only. Pass one of the constants generated for the possible values to this method to set the value.

© 2017-2023 Altova GmbH