anchored attributes behave different than elements?
Hello,
I am working on the DSA ruleset ( The Dark Eye ) at the moment. While trying to shorten some of the code by using XML attributes rather than elements I found that this code:
Code:
<anchored>
<to>werte_uebersicht</to>
<position>insidetopleft</position>
<offset>40,30</offset>
</anchored>
behaves different to this one:
Code:
<anchored to="werte_uebersicht" position="insidetopleft" offset="40,30" />
Can anybody tell me why?
I was expecting it to work exactly the same way.