This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc dom::GetHandle {type token varName} {
    

    if {![info exists $token]} {
        return -code error "invalid token \"$token\""
    }

    upvar 1 $varName data
    array set data [set $token]

# Type checking not implemented
#    if {$data(node:nodeType) ne "document" } {
#	return -code error "node is not of type document"
#    }

    return {}

}

Show another procedure: