idx_get()

XmlSchemaCollection::idx_get(const String&) method

Returns the XmlSchema associated with the given namespace URI.

SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::idx_get(const String &ns)

Arguments

ParameterTypeDescription
nsconst String&The namespace URI associated with the schema you want to return. This will typically be the targetNamespace of the schema.

Return Value

The XmlSchema associated with the namespace URI; nullptr if there is no loaded schema associated with the given namespace or if the namespace is associated with an XDR schema.

See Also