I am working with a web service that sends XML data back from the Web Service
as a .NET DataSet data type. In the output window the result looks pretty much
like XML data . I am using the Flash webserviceconnector, but I am not binding
the returned .Net DataSet data to any component. I would just like to access
the returned results with Actionscript.
I have tried things like:
_level0.GetZoneDangerRoseTrend.results.RoseColors <<<<????
I just want the returned RoseColor value: 444444444444222444444444 (see below)
Here is my results in the Output window:
Variable _level0.GetZoneDangerRoseTrend.results = [object #771, class
'Object'] {
schema:[object #772, class 'XMLNode'] {
<xs:schema id="Common" xmlns=""
xmlns:xs="
http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="Common" msdata:IsDataSet="true"
msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table">
<xs:complexType>
<xs:sequence>
<xs:element name="RoseId" type="xs:int" minOccurs="0" />
<xs:element name="ZoneNumber" type="xs:unsignedByte"
minOccurs="0" />
<xs:element name="RoseColors" type="xs:string"
minOccurs="0" />
<xs:element name="RoseDays" type="xs:string" minOccurs="0"
/>
<xs:element name="CreatedDate" type="xs:dateTime"
minOccurs="0" />
<xs:element name="CreatedBy" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
},
diffgram:[object #773, class 'XMLNode'] {
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<Common xmlns="">
<Table diffgr:id="Table1" msdata:rowOrder="0">
<RoseId>
63
</RoseId>
<ZoneNumber>
4
</ZoneNumber>
<RoseColors>
444444444444222444444444
</RoseColors>
<RoseDays>
20061022
</RoseDays>
<CreatedDate>
2006-10-22T09:27:30-06:00
</CreatedDate>
<CreatedBy>