The content class is not being changed, so prodding RedDot to "see"
new elements is not really an issue. Nevertheless, I implemented your
suggestion; no difference.

We've been over the properties of the page itself and the list it's
attached to, and there doesn't seem to be anything out of the
ordinary. We've even tried getting the page elements of other
unrelated pages, and nothing is coming through. We've re-written the
XML query a couple of times, to no avail. It is being sent to the
server, and an object is being returned, but it contains no ELEMENT
nodes.

In case a second pair of eyes is all that's needed, here's our method:


"Dummy" RQL user is successfully logged in. We have a function set up
to handle the XML query:

'### get all elements of a page
function listPageElements(loginGUID, sessionKey, pageGUID)
        xmlData = "<IODATA loginguid=""" & loginGUID & """ sessionkey=""" &
sessionKey & """>" &_
                "<PAGE guid=""" & pageGUID & """>" &_
                "<ELEMENTS action=""load""/>" &_
                "</PAGE>" &_
                "</IODATA>"
        listPageElements = objIO.ServerExecuteXml(xmlData, sError)
end function



We call the function and write out the resulting XML, just to check:

xmlListData = listPageElements(loginGUID, session_key, pageGUID)

If sError > "" Then
        errorCount = errorCount + 1
        response.write("Error : " & sError & "<br />")
        response.write("Number of Errors : " & errorCount & "<br />")
        response.end()
End if

'### DEBUG CODE
response.write "<br />Page Query XML: <xmp>" & xmlListData & "</
xmp><br />"



The XML returned looks okay:

<IODATA>
<PAGE guid="ACB8AB958AF941D3B2F347718FB7FE40"
sessionkey="393A8BDD961B4F3DB0537F0287DC4127" dialoglanguageid="ENG"
languagevariantid="ENG">
<ELEMENTS action="load" pageguid="ACB8AB958AF941D3B2F347718FB7FE40"
parenttable="PAG" guid="ACB8AB958AF941D3B2F347718FB7FE40"/>
</PAGE>
</IODATA>



So we continue:

Call xmlDoc.LoadXML(xmlListData)

Set elementList = xmlDoc.getElementsByTagName("ELEMENT")
response.write("Number of ELEMENT nodes: " & elementList.length)



And the result?

Number of ELEMENT nodes: 0
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to