Appologies for the off topic question. Does anyone know how I can create an object with a constructor that takes agruments specified via XML elements.
I have a Configuration object with a constructor that takes two String parameters. The XML will be something like this: <config> <param1>someText</param1> <param2>someText</param2> <saveAs>someText</savaAs> </config> When the digester matches the config pattern it will create the Configuration object passing param1 and param2 as parameters to the constructor and then when it matches the pattern config/saveAs it will call a method on the Configuration object. I have looked at the documentation and have seen the FactoryCreateRule but I am not sure how to use this and how I can get it to use the param1 and param2 elements as the Constructor parameters. Once again sorry for the off topic post. Any hints would be appreciated. Thanks Jim. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]