Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to prevent ABAP sort XML attribute

Former Member
0 Likes
343

the ABAP will sort attribute node by attribute name. for example.

if the source XML is

<A b="b" a="a"/>

suppose the XSLT is

<xsl:copy-of select="."/>

the result will be

<A a="a" b="b"/>

but actually, we do not want to sort it. so is there any option to prevent ABAP sort the attributes?

thanks and regards,

davin, wang

1 REPLY 1
Read only

Former Member
0 Likes
295

I recieve an official reply via CSS: sorting on xml attributes is not implemented because it's not W3C standard.