I do like the getString/getInt/getBool ... way to access the application configuration -- its very handy and simple, although I couldn't found where the complete syntax to access properties is documented. I found out how to access attributes of an element of a XML configuration via "the.document.tree[@attribute]" more or less by myself.
I was wondering if it is possible to access an specific element of an XML configuration by its filtered attribute
Code: Select all
<element id="1" value="A" />
<element id="2" value="B" />
Is it possible to access the value attribute of an element where id="2"?
I tried something like "elements.element[@id=2][@attribute]" but didn't find anything? Is something like this possible?
thank you very much.