Altova MapForce 2025 Enterprise Edition

GetChild

Home Prev Top Next

Scans for a direct child datapoint of the current datapoint, by namespace and local name.

 

If a schema component has elements that contain mixed content, each displays an additional child node, the so-called text() node. To retrieve a datapoint of a text() node, you will have to pass an empty string in strNamespace as well as "#text" in strLocalName and eSearchDatapointElement in searchFlags.

 

Signature

GetChild(in strNamespace:String, in strLocalName:String, in searchFlags:ENUMSearchDatapointFlags) -> Datapoint

 

Parameters

Name

Type

Description

strNamespace

String

The namespace of the direct child datapoint.

strLocalName

String

The name of the direct child datapoint.

searchFlags

ENUMSearchDatapointFlags

Search flags can be passed as combination of values (combined using binary OR) of the ENUMSearchDatapointFlags enumeration.

 

Errors

Error code

Description

2000

The object is no longer valid.

2001

Invalid address for the return parameter was specified.

2002

Datapoint not found.

© 2018-2024 Altova GmbH