Populating documents with xml. I want convert on a group of legal documents (plain text) into xml documents that can be populated with with user information (names, addresses, etc.). From what i have read, XML Schema is the way to go. any suggestions?

Roseanne Zhang

You can design/constrain your upcoming XML files with DTD or schema. However, you still need to write your own text file parser, to simply read line by line to convert your legal documents to the desired XML documents.

This is because only you know your text file structure, and what content you want to put where in your XML and under which tag.