[EMAIL PROTECTED] wrote:
Hi,

I am storing a RFT in a variable say as in below style sheet:

...


When I am trying to copy the above RTF into the output file, I see it
this way

<O/P XML File>



<NS:Entry xmlns:NS="NS" Id3="3" Id2="2" Id1="1">
        < NS:Atr>10</NS:Atr>
</NS:Entry>

I want to know why the order of the attributes is getting reversed.

Attribute are unordered in XML, so relying on a specific order is not a good idea. They're probably in that order because that's how Xerces-C reports them.

Precisely I would like to know if I can retrieve the attributes order as
it.

No

Also, I want to avoid the prefixing of xmlns:NS="NS".

Do you mean you want to remove this namespace declaration? It's there because you copied it in your stylesheet, and because you've copied nodes that require it.

Dave

Reply via email to