If you don't want to use a URL and want to pass in the XML as a
string, you don't do it that way. You create your DS and set the url
to null:

var dsRatings = new Spry.Data.XMLDataSet(null, "ratings/rating");

You create an XML doc out of your XML:

var xmlDOMDocument = Spry.Utils.stringToXMLDoc(xmlStr);

and then you do...

dsRatings.setDataFromDoc(xmlDOMDocument);

Obviously my DS name isn't the same as yours, but you get the idea.

On 3/2/07, Dan Vega <[EMAIL PROTECTED]> wrote:
> I have a spry solution I am working that looks like the html document below.
> This works fine and gives me no problems at all. However if I change the xml
> file
> to an xml string that is generated from mssql like this


-- 
===========================================================================
Raymond Camden

Email    : [EMAIL PROTECTED]
Blog      : ray.camdenfamily.com
AOL IM : cfjedimaster

Video game player? Have kids? Check out KidGamers.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271338
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to