In that case you could probably use cpp or just write your own tool that
does the substitution. Mark the places with something like $place$ and that's
it.
It sounds like overkill to use XML for this.
>The question is how I can do this, do I need a DTD that defines
>HTML and my customized tags or is there any XML parsers understand HTML?
HEX does.
<URL:http://www-uk.hpl.hp.com/people/ak/java/hex.html>
--Lars M.