[
Lists Home |
Date Index |
Thread Index
]
- From: Nigel Robbins <Nigel.Robbins@macro4.com>
- To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
- Date: Mon, 20 Sep 1999 09:14:24 +0100
Title: Expat - basic help
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
|