XML parsers I have seen are not trivial. S-expressions are far better for this type of thing. For a simple, low-cost, embeddable S-expression parsing library see: http://sexpr.sourceforge.net/ ron