|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: high level XML handling
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@x... [mailto:owner-xml-dev@x...]On Behalf Of > Wojtek Sobczuk > Sent: Monday, May 01, 2000 7:09 AM > To: xml-dev@l... > 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@s...> > > ****************************************************************** > ********* > This is xml-dev, the mailing list for XML developers. > To unsubscribe, mailto:majordomo@x...&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@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








