[fpc-pascal] TDOMElement and multiple attributes

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 18 16:02:10 CET 2011


On Fri, 18 Mar 2011 15:42:13 +0100
Reimar Grabowski <reimgrab at 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 SetAttribute calls has no influence on the order in the node. So my question is if there is a way to specify which attribute is the first, second and so on?

The attributes are a set of name, value pairs. There is no order. xml
parsers must work with any order.
Why do you need to order them?

Mattias



More information about the fpc-pascal mailing list