Expat - basic help

Nigel Robbins Nigel.Robbins at macro4.com
Mon Sep 20 13:44:11 BST 1999


I need a stack mechanism that keeps track of the current context.

For example, in the following XML, I need to distinguish between the two
different <Name> tags.
<Transaction>
	<Header>	
		<Name>Some text...</Name>
	</Header>
	<Body>
		<Name>Some different text...</Name>
	</Body>
</Transaction>

I was thinking of putting in a stack mechanism via the
"XML_SetElementHandler" function.

Does anyone have any example code I can have a look at ?

Many thanks,
Nigel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19990920/d9e3b370/attachment.htm


More information about the Xml-dev mailing list