commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Kee <k...@ARCCorp.com>
Subject Nested Namespace for the composite configuration file?
Date Thu, 01 Apr 2004 21:11:57 GMT
Hi:
   I am wondering if I can have a nested namespace for the configuration
file this?
   <?xml version="1.0" encoding="ISO-8859-1" ?>
   <configuration xmlns:foo="namespace-one">
  	<foo xmlns:bar="namespace-two">
      	<bar:dom4j
className="org.apache.commons.configuration.DOM4JConfiguration"
 			fileName="conf/test.xml"/>
  	</foo>
   </configuration>
   
   Also, how can I reference the namespace in the ConfigurationFactory as
"foo" instead of namespace-one?

Thanks
Keith 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message