Controlling the Mach II (or Model Glue) xml file size
I found a blog entry by Wayne Graham on the mach-ii.info web site. It explains how you can use XML Entities to "include" external xml files. In the case of Mach II and Model-Glue, you could separate out parts of the config file into different xml files. The short of it is you end up with a config file that looks like this (example is for Model-Glue, but can apply to Mach II):
<!DOCTYPE [
<!ENTITY mapping "/modelgluesamples">
<!ENTITY appName "StockQuote">
<!ENTITY folder "stockquote">
<!ENTITY hello "HelloWorld">
<!ENTITY config SYSTEM "c:/websites/localhost/modelgluesamples/templates/config.xml">
<!ENTITY controllers SYSTEM "http://localhost/modelgluesamples/templates/stockquote/controllers.xml">
<!ENTITY events SYSTEM "http://localhost/modelgluesamples/templates/stockquote/event-handler.xml">
]>
<modelglue>
&config;
&controllers;
&events;
</modelglue>







