StartElement Event
Fired when a begin-element tag is encountered in the document.
Syntax
ANSI (Cross Platform) virtual int FireStartElement(OfficeDocStartElementEventParams *e);
typedef struct {
const char *Namespace;
const char *Element;
const char *QName;
int IsEmpty; int reserved; } OfficeDocStartElementEventParams; Unicode (Windows) virtual INT FireStartElement(OfficeDocStartElementEventParams *e);
typedef struct {
LPCWSTR Namespace;
LPCWSTR Element;
LPCWSTR QName;
BOOL IsEmpty; INT reserved; } OfficeDocStartElementEventParams;
- (void)onStartElement:(NSString*)namespace :(NSString*)element :(NSString*)QName :(BOOL)isEmpty;
#define EID_OFFICEDOC_STARTELEMENT 15 virtual INT IPWORKSZIP_CALL FireStartElement(LPSTR &lpszNamespace, LPSTR &lpszElement, LPSTR &lpszQName, BOOL &bIsEmpty);
Remarks
The StartElement event is fired when a begin-element tag is found in the document.
The element name is provided through the Element parameter. The attribute names and values (if any) are provided through the XAttributes properties.
The IsEmpty parameter is true when the event corresponds with an empty element declaration.