On Sun, 27 Mar 2011 22:56:16 -0300
Flávio Etrusco flavio.etru...@gmail.com wrote:
someone@somewhere:~/pascal/Projects/xmldemo$ cat test.xml
?xml version=1.0?
ROOT someAttrib=someValue
SomeNode aAttribute=2 bAttribute=3 ccAttribute=4
aaaAttribute=1/
/ROOT
Looks like the
someone@somewhere:~/pascal/Projects/xmldemo$ cat test.xml
?xml version=1.0?
ROOT someAttrib=someValue
SomeNode aAttribute=2 bAttribute=3 ccAttribute=4 aaaAttribute=1/
/ROOT
Looks like the order is governed by the length of the attribute name first
and then alphabetically.
Actually it
On Fri, 18 Mar 2011 20:16:08 +0100
Mattias Gaertner nc-gaert...@netcologne.de 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
On Mon, 21 Mar 2011 15:34:28 +0100
Reimar Grabowski reimg...@web.de 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
On Fri, 18 Mar 2011 15:42:13 +0100
Reimar Grabowski reimg...@web.de 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
On Fri, 18 Mar 2011 16:02:10 +0100
Mattias Gaertner nc-gaert...@netcologne.de 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
On Fri, 18 Mar 2011, Reimar Grabowski wrote:
On Fri, 18 Mar 2011 16:02:10 +0100
Mattias Gaertner nc-gaert...@netcologne.de 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
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:
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 nc-gaert...@netcologne.de wrote:
Why do you need to order them?
I don't need to, I just want to and the