Hi Giuseppe,
the attribute order cannot be enforced indeed. We can’t even guarantee that the attributes of a parsed document are returned in the same order when it’s serialized. This is due to the spec: attributes are treated as node properties with no particular order.
A question in reverse: Why do you need attributes to be returned in a particular order?
Ciao, Christian
On Mon, Jul 6, 2020 at 7:57 PM Giuseppe G. A. Celano celano@informatik.uni-leipzig.de wrote:
Hi,
I know that the order of attributes in XML is not relevant, but I am wondering whether there is a way to add an attribute as the last one using copy/modify expression. The “as last” option seems not to work for attributes.
Cheers, Giuseppe