LabelFunction?

On 8/13/10 9:59 PM, "MicC" <[email protected]> wrote:






<row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"; 
xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
 <CATALOG_NAME>
 CubesDev
 </CATALOG_NAME>
 <CUBE_NAME>
 Cube1
 </CUBE_NAME>
 <DIMENSION_UNIQUE_NAME>
 [Dim Division] .....

The XMLList contains multiple XML rows in the above format. To access e.g. 
CATALOG_NAME for row 3 I have to:

var responseRows:XMLList= (the data);
var msRS:Namespace= new Namespace( 
"urn:schemas-microsoft-com:xml-analysis:rowset");
var name:String = String((responseRows.msRS::CATALOG_NAME)[3]);

Is there any way I can code labelField = something.CATALOG_NAME against this 
XMLList or do I have to more transformation? TIA,

Mic.






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to