Altova StyleVision 2023 Enterprise Edition

AuthenticEventContext.GetEventContextType

Home Prev Top Next

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.

 

© 2017-2023 Altova GmbH