On Wednesday 14 April 2004 11:42, Justin Permar wrote: > Ah. Maybe I'm confused about what this page > (http://avalon.apache.org/framework/api/org/apache/avalon/framework/configu >ration/Configuration.html) is saying. It says the Configuration is typically > built from > an XML document... so I should be able to use *any* XML > document as source for the Configuration builder?
Well, that is very dependent on how you are using Avalon Framework. With Merlin, the configuration structure is very much provided for you, and little to do in code, whereas I think that the older ECM and Fortress allows for grabbing an Element and make that into a Configuration for a component. > I don't > quite know what " The data model is a subset of XML's..." means. It means; <configuration> <myNode attr1="someValue>Yipee</myNode> </configuration> Is a valid XML as well as a valid Configuration, BUT <configuration> <myNode1 attr1="someValue>Yipee</myNode> Somedata1 <myNode2 attr1="someValue>Yipee</myNode> Somedata2 </configuration> Is valid XML, but NOT a valid Configuration, hence all Configuration can be expressed as XML on a 1:1 mapping, but not all XML can be expressed as Configuration, hence a subset. Niclas -- +---------//-------------------+ | http://www.bali.ac | | http://niclas.hedhman.org | +------//----------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
