3.2.0

XML Attributes vs. XML elements

I recieve a large XML file from an external resource using xmlHttp, which has it's data described in attributes rather than inside of elements. The memory that it takes to perform an XSL transform on the data is beyond my acceptible limits because the number of records is in the tens of thousands.

My file is similar to this:

<Clients>
<Client FirstName="George" LastName="Bush" IQ="50" Age="12" />
<Client FirstName="Dick" LastName="Cheney" IQ="49" Age="11" />
</Clients>

Is there any way I can get the ActiveGrid to parse the XML attributes as is rather than having to do the XSL transform first?
Pete
August 12,
You can parse the XML traversing the node and filll an array.

node.getAttribute ("FirstName") you will have to use.

XML processing in IE is not that quick Firefox much faster.
John Ophof http://open-modeling.sourceforge.net
August 12,
Very nice tutorial!
Jan
November 30,

This topic is archived.

See also:


Back to support forum