OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Expat - basic help

[ 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS