Hi,
I get a XML content from a web services:
************************************************
<List DocTemplateUrl="DIEITIC/Forms/template.doc"
DefaultViewUrl="/dgafeie/DIEITIC/Forms/AllItems.aspx"
ID="{8DB24F59-1883-482F-9F6A-4158F3FD4747}" Title="DIE-I-TIC" .....
ShowUser="True" xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<Fields>
<Field ColName="tp_ID" ReadOnly="TRUE" Type="Counter" Name="ID"
DisplayName="ID" FromBaseType="TRUE" />
<Field ColName="tp_Created" Hidden="TRUE" ReadOnly="TRUE"
Type="DateTime" Name="Created" DisplayName="Date de création"
StorageTZ="TRUE" FromBaseType="TRUE" />
<Field ColName="tp_Author" ReadOnly="TRUE" Type="User" List="UserInfo"
Name="Author" DisplayName="Créé par" FromBaseType="TRUE" />
<Field ColName="tp_Modified" Hidden="TRUE" ReadOnly="TRUE"
Type="DateTime" Name="Modified" DisplayName="Dernière modification"
StorageTZ="TRUE" FromBaseType="TRUE" />
<Field
ColName="tp_...................................... .................................................. ..
************************************************
I try to request this content :
************************************************
// Web Service call
ListsService.Lists ls = new ListsService.Lists();
ls.Credentials = System.Net.CredentialCache.DefaultCredentials;
XmlNode ndListColumns = ls.GetList(ListGUID);
// Parse XML
XPathNavigator nav = ndListColumns.CreateNavigator();
XPathNodeIterator xni = nav.Select("/List/Fields/Field");
.................................................. ........
************************************************
I have no results with the XPathNodeIterator (null). I tried several
expressions in
the select command, but it's the same thing. (There is accent in the XML
content, Pbs ?)
Any suggestions?
Thanks
SDA