chickadee » estraier-client » document-attribute

document-attribute base-uri node attrib #!key id uriprocedure

Fetch the attribute with name attrib from the document identified by id or uri at node. You must supply one of id or uri, but not both. attrib may be either a symbol or a string. This procedure returns a string with the attribute's contents.

Note: If the attribute does not exist, an exception of type (exn estraier-client args) is thrown.


(document-attribute "http://admin:admin@localhost:1978" "testnode"
                    '@digest uri: "test1")