How do you pass IXMLDOMElement to a function or subroutine? RRS feed

  • Question

  • User-1467965142 posted

    Code sample below

    Dim objxml

    Set objxml = Server.CreateObject("Microsoft.XMLDOM")


    Set BucketTypeNode=objxml.SelectSingleNode("//tblBucketType")

    response.Write typeName(BucketTypeNode) ' Writes IXMLDOMElement

    response.Write ConvertNodeToInsert(BucketTypeNode) '<--Errors Here Type mismatch: 'ConvertNodeToInsert'


    Monday, November 11, 2019 10:32 PM

All replies

  • User-460007017 posted

    Hi Dr.GUI,

    I can't find the document about ConvertNodeToInsert anywhere? Could you provide a document or code for this method? Most of time I just see that being used like IXMLDOMElement.appenchild.

    Best Regards,

    Jokies Ding

    Tuesday, November 12, 2019 7:50 AM