i am copying a xml document and add a attribute to certain nodes (see: xslt how to add attributes to copy-of)
Thing is, my nodes already have some existing attributes, f.e.:
<element id="123" dbfield="table">
When i add a new attribute, it gets positioned in front of the first attribute, just like that:
<element version="default" id="123" dbfield="table">
I would prefer to have it as the last attribute, like this:
<element id="123" dbfield="table" version="default">
Is there a way to set the position of the new "version"-attribute? Thank you for your help!