Skip to Content
0
Former Member
Feb 01, 2008 at 09:09 AM

How to prevent ABAP sort XML attribute

48 Views

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