Various IDEs have code insight capabilities when editing XML files. I'm not familiar with the details of the XML headers, but I believe if you specifiy a name space (xmlns) and the schema location this allows IDEs to enable code insight. Then, for example, when you type in a <, the list of available targets will be displayed.

Has anyone done anything with this for Spring's applicationContext.xml files?

I tried using a generic DTD to XSD converter tool to create an XSD from spring-beans.dtd, but I'm not sure how to hook this into a Spring applicationContext.xml file. Suggestions? Thanks, in advance.