Hi , I am new to XML and need some help retrieving the order attribute in a ASP Page, I have succesfully got everything else apart from this one attribute, I have found several websites explaing about nodes, but I am not having any luck.
Below is the code and it is in the Search Info section on the SortBy tag.
Any help would be appreciated
<?xml version="1.0" encoding="UTF-8" ?>
- <DistributedSearchXML payloadID="123465678">
- <Header version="1.0">
- <From>
- <Credential domain="DUNS">
<Identity>operations</Identity>
</Credential>
</From>
- <To>
- <Credential domain="Name">
<Identity>Disneyland</Identity>
</Credential>
</To>
- <Login>
<UserName>bob</UserName>
<Password>password</Password>
<AuthenticatedKey>12345678</AuthenticatedKey>
</Login>
</Header>
- <Request>
- <ItemSearchRequest operation="SimpleSearch">
- <UserInfo>
<UserName />
<AppsUserName>ppan</AppsUserName>
<UserPhone />
<UserEmail />
</UserInfo>
- <SearchInfo>
<SearchLanguage>EN-US</SearchLanguage>
<SearchKeywords>blue pen</SearchKeywords>
<SortBy order="DESC">Price</SortBy>
<ResultSize>15</ResultSize>
<StartResult>1</StartResult>
</SearchInfo>
+ <UserArea>
<SupplementalInfo name="Group">OU1</SupplementalInfo>
<SupplementalInfo name="Division">NorthEast</SupplementalInfo>
</UserArea>
</ItemSearchRequest>
</Request>
</DistributedSearchXML>