Lyndon Samson wrote:
You could of course just use properties, with overlay accessor classes providing
particular views and type safety.

The starting point of all this.... was that it was decided that we want POJOs as the in-memory representation of DDs. So properties would not meet that requirement.

I'm not the best one to say why we want POJOs - I was happy using DOM :-)

But look for the "parsing XML" discussion last week for the reasoning.


Just flatten
  <des>
        <item>
                <val>1</val>
        </item>
  </des>

to

des.item.1.val.1=1





Reply via email to