Altova XMLSpy 2025 Enterprise Edition

Method: GetEventContextType () Type as AuthenticEventContextType enumeration

 

Return Value

Returns the context node type.

 

Description

GetEventContextType allows the user to determine whether the macro is in an XML node or in an XPath atomic item context. The enumeration AuthenticEventContextType is defined as follows:

 

authenticEventContextXML,

authenticEventContextAtomicItem,

authenticEventContextOther

 

If the context is a normal XML node, the GetXMLNode() function gives access to it (returns NULL if not).

 

Errors

2201

Invalid object.

2202

No context.

2209

Invalid parameter.

 

© 2018-2024 Altova GmbH