title: How to incorporate an xml fragment into tomcat's server.xml
body: <p>I'm doing a distribution of tomcat for a many servers and in each of these servers the realm is going to be different.  I would like to have a file <code>/etc/tomcat/realm.xml</code> containing the realm for that installation and have the file <code>/var/lib/tomcat/conf/server.xml</code> import it directly.  I've tried with Xinclude without luck and I'm about to resort to <code>sed</code> to the import when running <code>/etc/init.d/tomcat</code>.  Is there a better way to do this?</p>