On Sun, 27 Mar 2011 22:56:16 -0300
Flávio Etrusco wrote:
> >
> >
> >> someone@somewhere:~/pascal/Projects/xmldemo$ cat test.xml
> >>
> >>
> >> >> aaaAttribute="1"/>
> >>
> >>
> >> Looks like the order is governed by the length of the attribute name first
> >> and then alphabetically.
> >>
>
>
>> someone@somewhere:~/pascal/Projects/xmldemo$ cat test.xml
>>
>>
>>
>>
>>
>> Looks like the order is governed by the length of the attribute name first
>> and then alphabetically.
>>
Actually it isn't sorted by length, but it's case-sensitive.
Mattias wrote:
> Yes, that is what Compa
On Mon, 21 Mar 2011 15:34:28 +0100
Reimar Grabowski wrote:
>[...]
> I am to lazy to attach the code, so here it is (you should know how to get it
> into Lazarus without too much hassle :) ):
>
> program xmlattributes;
>
> {$mode objfpc}{$H+}
>
> uses
> {$IFDEF UNIX}{$IFDEF UseCThreads}
>
On Fri, 18 Mar 2011 20:16:08 +0100
Mattias Gaertner wrote:
> Maybe Reimar can give an example when it does not work.
I am to lazy to attach the code, so here it is (you should know how to get it
into Lazarus without too much hassle :) ):
program xmlattributes;
{$mode objfpc}{$H+}
uses
{$IFD
On Fri, 18 Mar 2011 17:08:49 +0100 (CET)
michael.vancann...@wisa.be wrote:
>
>
> On Fri, 18 Mar 2011, Reimar Grabowski wrote:
>
> > On Fri, 18 Mar 2011 16:02:10 +0100
> > Mattias Gaertner wrote:
> >
> >> Why do you need to order them?
> > I don't need to, I just want to and the reason is simpl
On Fri, 18 Mar 2011 17:08:49 +0100 (CET)
michael.vancann...@wisa.be wrote:
> Probably determined by hashvalue or the AVL tree order.
That makes sense, thank you for the info.
R.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: To
On Fri, 18 Mar 2011, Reimar Grabowski wrote:
On Fri, 18 Mar 2011 16:02:10 +0100
Mattias Gaertner wrote:
Why do you need to order them?
I don't need to, I just want to and the reason is simply aesthetics. So no big
deal that it is not possible.
Btw is there any comprehensible reason behind
On Fri, 18 Mar 2011 16:02:10 +0100
Mattias Gaertner wrote:
> Why do you need to order them?
I don't need to, I just want to and the reason is simply aesthetics. So no big
deal that it is not possible.
Btw is there any comprehensible reason behind the order which SetAttribute
uses? It is not alp
On Fri, 18 Mar 2011 15:42:13 +0100
Reimar Grabowski wrote:
> Hi all,
>
> I want to create a node with multiple attributes. It works by using
> SetAttribute multiple times but it looks like I cannot specify the order in
> which the attributes appear in the xml. The order of my SetAttribute call