3.2.0

Load an XML string

I am amazed by what you have done here...

All of Our data comes from a custom dll as a string of XML data.

Currently I am using XSLT transforms to create the Javascript array of data. Pretty slick, but not exactly intuitive...

What I am looking for is something like...

var table = new Active.XML.Table;
table.loadXMLString( myBigOL_XMLString );

I've been diving thru your javascript, but came to realize that you seem to live on some different javascript programming planet than I do! Jeezsh, I didnt even realize that javascript could do all that. Who knew?!? ( you did, I guess... )

I'd be glad to do it myself ( I have some skill, at least ) but need some small nudge as to where to start.

Thanks for the great software!
Brian
January 16,
Brian,

the simplest would be just publish your data as a separate XML 'service' without embedding it into the HTML page at all. The data model will make a separate HTTP request to retrieve the data and then pass it to the grid. This is how all XML examples work.

I think I understand your question and will add 'loadXMLString' method in the future release. I am just curious why one would prefer to have XML data inside HTML page and not as a separate request? Is it access control/security issue or something else?
Alex (ActiveWidgets)
January 17,
Thanks for the response.

We try and do all of our processing in one big server side swoop, with the data comming in from the dll as xml string, the xslt loaded from same dll as string, and transform happening.

If you dont mind, I'll post my generic ( ish ) xslt that I am using to transform my data into your array script for others to use.
Brian
January 21,

This topic is archived.

See also:


Back to support forum