I don't know of any inclusion tag. I had a similar problem with context.xml, I used an XSLT transformation to add new <Resource>s entries during installation time depending on the number of databases a user wanted to configure. I used a dummy <Resource> entry and used XSLT to make a copy of it replacing a set of attributes with values provided by the user. At the end, I used another XSLT to remove the dummy <Resource>.
On Fri, Jan 22, 2010 at 11:31 PM, Aryeh M. Friedman < aryeh.fried...@gmail.com> wrote: > I have an Java based XML DB that keeps track of different configurations > for various sites we host and it is trivial to have it spit out a <Host> > entery compatible with server.xml for each site... the only problem we have > is how to insert the output into server.xml without garbaging and/or having > to parse the file... the solution I want to use is "include file X here" but > I can not find any way of coding that into server.xml.... If it is > compatible with standard XML inclusion tag's just let me know and I will > figure out the rest if not is there a special tag or something? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >