follow stog dev: elt->doc, hid->path