Please enable JavaScript to view this site.

Altova XMLSpy 2020 Enterprise Edition

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

 

Methods

Name

Description

Attribute FindAttribute(const char_type* localName, const char_type* namespaceURI)

Finds the attribute with the specified local name and namespace URI.

Element FindElement(const char_type* localName, const char_type* namespaceURI)

Finds the element with the specified local name and namespace URI.

std::vector<Attribute> GetAttributes()

Returns a list of all attributes.

ComplexType GetBaseType()

Returns the base type of this type.

SimpleType GetContentType()

Returns the simple type of the content.

std::vector<Element> GetElements()

Returns a list of all elements.

string_type GetLocalName()

Returns the local name of the type.

string_type GetNamespaceURI()

Returns the namespace URI of the type.

 

Operators

Name

Description

bool operator()

Returns true if this is not the NULL ComplexType.

bool operator!()

Returns true if this is the NULL ComplexType.

© 2019 Altova GmbH