I don't know whether it suits your needs, but I understand there is an SGML parser contained within the W3C HTML validator:
http://validator.w3.org/ While you're there, type in the URLs of a few of your favorite web page to see how compliant they are to the HTML standards ;-) The source itself is at: http://validator.w3.org/source/ It may be the case that the parser only supports what it needs to parse DTD's and HTML files. Your documents may not fit within the subset of SGML that include these, but I really don't know - maybe it is a general SGML parser. If you work with the validator source, you will want to join the mailing list. It's a good list, high signal to noise: http://lists.w3.org/Archives/Public/www-validator/ Mike -- Michael D. Crawford GoingWare Inc. - Expert Software Development and Consulting http://www.goingware.com/ [EMAIL PROTECTED] Tilting at Windmills for a Better Tomorrow. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]