An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

XML Entities - Automatic "Find/Replace"

July 21, 2005 ·

Ray Camden asked on the Model-Glue list about whether there was a way to avoid repeatedly typing the application name in the XML configuration file. Wayne Graham came back with a brilliant way to do this that uses XML entities - definitions of &entities; directly in your XML file. Read Ray's enthusiastic response to Wayne's blog posting about the technique. This should apply to other frameworks that use XML configuration files but I haven't tried it.

Tags: coldfusion · fusebox · machii · modelglue · tartan

0 responses