| XmlProperty beahvior with empty elements | XmlProperty beahvior with empty elements 2003-03-28 - By George_Schlitz@(protected)
I am trying to use the XmlProperty task to read in XML files to create properties, and I am having a problem that I didn't have using normal properties files (a la <property file=""/>)
If this is my XML file, the property server.list.stack2 is not set at all. <server> <list> <stack1>server1,server2</stack1> <stack2></stack2> </list> </server>
Using a normal properties file, I can get server.list.stack2="" by doing this: server.list.stack1=server1,server2 server.list.stack2=
How can I get the proper "empty element" behavior, i.e. create a property with value of empty string?
Thanks! George
|
|
 |