Re: [basex-talk] Position of attributes using copy/modify

2020-07-08 Thread Christian Grün
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:

[basex-talk] Position of attributes using copy/modify

2020-07-06 Thread Giuseppe G. A. Celano
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