Unfortunately, I am not aware of any XML schema available for download this case. However, in answer to your section question, you should look at the Documents sample that ships with NetAdvantage, specifically the Callback example, since you can specify tags and then at run-time replace them with the value of your choice.
-Matt