Those are xml "namespaces".  Try:

var list:XMLList = _xmlResult.GetListItemsResult.listitems.rs::data;

 

Namespaces are a pain.  You might have to declare the namespace.  You'll
need to see the docs for details on that.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of penidocl
Sent: Wednesday, September 10, 2008 6:35 PM
To: [email protected]
Subject: [flexcoders] Unable to traverse an XML document whose tag names
have : signs

 

I'm not being able to traverse an XML document whose tag names have
punctuation signs, for example:
<?xml version="1.0"?>
<GetListItemsResponse
xmlns="http://schemas.microsoft.com/sharepoint/soap/
<http://schemas.microsoft.com/sharepoint/soap/> " 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
<http://schemas.xmlsoap.org/soap/envelope/> " 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> " 
xmlns:xsd="http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> ">
<GetListItemsResult>
<listitems xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" 
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
<rs:data ItemCount="80">
<z:row
ows_Attachments="0"
ows_Status="Active"
ows_Priority="High"
ows_LinkTitle="Issuer Reports"
ows_Description="Provide detailed issuer
reports for selected frequent issuers."
ows_Criteria_x0020_Officer="Sheridan, Joseph"
ows_Analytic_x0020_Lead_x0020__x0028="various"
ows_Practice="ABS"
ows_Region="U.S."
ows_Criteria_x0020_Category="Other"
ows_Scenario_x0020_Analysis="0"
ows__ModerationStatus="0"
ows__Level="1"

ows_UniqueId="1;#{7DDC1592-279A-4399-9959-4FF6A4E80E06}"
ows_FSObjType="1;#0"
ows_Created_x0020_Date="1;#2008-09-03 15:56:24"

ows_FileRef="1;#tempforjames/Lists/CriteriaList/1_.000"
ows_MetaInfo="1;#"
ows_Title="Issuer Reports"
ows_ID="1"
ows_owshiddenversion="1"
ows_Created="2008-09-03 15:56:24"
ows_FileLeafRef="1;#1_.000"/>

<z:row ows_Attachments="0" ows_Status="Active" 
ows_Priority="High" ows_LinkTitle="Criteria Nomenclature Project" 
ows_Description="Update criteria under new nomenclature and article
templates for written criteria publications." 
ows_Criteria_x0020_Officer="Sheridan, Joseph" 
ows_Analytic_x0020_Lead_x0020__x0028="various" ows_Practice="ABS" 
ows_Region="U.S." ows_Criteria_x0020_Category="Other" 
ows_Scenario_x0020_Analysis="0" ows__ModerationStatus="0" ows__Level="1"

ows_UniqueId="2;#{7D384D4E-3646-42EC-A322-844D2C99D752}" 
ows_FSObjType="2;#0" ows_Created_x0020_Date="2;#2008-09-03 15:56:24" 
ows_FileRef="2;#tempforjames/Lists/CriteriaList/2_.000"
ows_MetaInfo="2;#" 
ows_Title="Criteria Nomenclature Project" ows_ID="2" 
ows_owshiddenversion="1" ows_Created="2008-09-03 15:56:24" 
ows_FileLeafRef="2;#2_.000"/>
</rs:data>
</listitems>
</GetListItemsResult>
</GetListItemsResponse>

I'm trying to do
_xmlResult = XML(oEvent.result);
var list:XMLList = _xmlResult.GetListItemsResult.listitems.rs:data;

 

Reply via email to