Hi,

I'm having trouble understanding why my code is giving me an error as
i have checked some RQL examples in this discussion group and i'm just
doing similar stuff to other people.

The error i get is:
Microsoft VBScript runtime error '800a01a8'
Object required: '[object]'

it's pointing to line with this in:
GetElementGUID = objXMLDOM.selectSingleNode("//ELEMENT
[...@eltname='sta_author']").getAttribute("guid")

I would be very grateful for some advice on this, thank you.


<%
set objIO = Server.CreateObject("RDCMSASP.RdPageData")
objIO.XmlServerClassName = "RDCMSServer.XmlServer"
set objXMLDOM = Server.CreateObject("Microsoft.XMLDOM")

xmlData = "<IODATA sessionkey=""<%inf_sessionkey%>""><PAGE guid=""<
%sh_pageguid%>""><ELEMENTS action=""load"" /></PAGE></IODATA>"
xmlData = objIO.ServerExecuteXml(xmlData,sError)
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXMLDOM.LoadXML(xmlData)

GetElementGUID = objXMLDOM.selectSingleNode("//ELEMENT
[...@eltname='sta_author']").getAttribute("guid")
%>
--~--~---------~--~----~------------~-------~--~----~
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