You can write your own parser, but I won't go that way. You should use one of the free available parsers (eXpat, Xerces) which all have public routines for parsing strings, regardless of their provenience.
HTH. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro