No there is more to it than mere angle brackets. I plowed into this in 1998 with a perl regexp based parser and it took me years to find out I had ignored things people expected to work in XML. Entity replacement via DTD is probably the most obvious (and other arcane DTD transformations like applying namespaces), but also whitespace normalization in attributes, line ending normalization, etc, and there are probably other things I forgot or never learned about, not being a parser writer, really, but which eventually will trip you up if you go about it on your own. -Mike |