XML as property file Approach
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sunder_rajan
Posted On:   Monday, December 3, 2007 01:47 AM

Hi All,

I am trying to use Java property file concept for loading XML data.

I defined the DTD and can get just one set working, if I have need another set of same elements with different values, how to declare it the property file? Incase my approach is incorrect please let me know how should I think through it.


AddCustomer
https
No


I need to reuse entry key with a different set of value
Thanks

Regards
Sunder

Re: XML as property file Approach

Posted By:   Robert_Lybarger  
Posted On:   Monday, December 3, 2007 10:23 PM

You didn't really say what the problem really was, but it'd work like this:




blah blah blah
First Value
Second Value


After loading into a Properties object, the value of key "abc" will be "Second Value".
About | Sitemap | Contact