[
Lists Home |
Date Index |
Thread Index
]
- From: "Eugene Kuznetsov" <eugene@datapower.com>
- To: "Wojtek Sobczuk" <sopel@system.pl>, <xml-dev@lists.oasis-open.org>
- Date: Mon, 1 May 2000 09:53:51 -0400
If it's simple enough, you could just use a list of tags & handlers on top of an event-based parser. For more complicated things, you would need a state machine or a stack of some kind. Eventually, when it gets complex and general enough, it makes sense to have a tree -- although probably nothing as complex as DOM.
> -----Original Message-----
> From: owner-xml-dev@xml.org [mailto:owner-xml-dev@xml.org]On Behalf Of
> Wojtek Sobczuk
> Sent: Monday, May 01, 2000 7:09 AM
> To: xml-dev@lists.oasis-open.org
> Subject: high level XML handling
>
>
> hello,
>
> i'm developing a piece of software which parses XML input (i'm
> using expat for
> that) and executes commands basing on the XML input. for example:
> <adduser><username>joe</username><password>foobar....</adduser>
> the commands are deeply nested, and the example is simplified.
> anyhow, i don't know how to organize the 'high level' parsing.
> could You point
> me to some examplary code? or perhaps a program doing a similiar thing to
> mine?
>
> thanks in advance,
> Wojtek
>
> --
> Wojciech Sobczuk <sopel@system.pl>
>
> ******************************************************************
> *********
> This is xml-dev, the mailing list for XML developers.
> To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
> List archives are available at http://xml.org/archives/xml-dev/
> ******************************************************************
> *********
>
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|