diff options
author | Lars Thorsen <[email protected]> | 2016-09-12 10:48:41 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-09-12 10:48:41 +0200 |
commit | e1bcf7f909fbb109616e8c4efeecf9c714bf62b3 (patch) | |
tree | 79b6a45b7837e8263850013f413934fbf22a6474 /lib/xmerl/src/xmerl_xpath.erl | |
parent | f792ea463770bbd4464cef347aef6e3f8606687b (diff) | |
parent | 5ee6a8af63c9d450e5cc6e9cfa9d5890adbde092 (diff) | |
download | otp-e1bcf7f909fbb109616e8c4efeecf9c714bf62b3.tar.gz otp-e1bcf7f909fbb109616e8c4efeecf9c714bf62b3.tar.bz2 otp-e1bcf7f909fbb109616e8c4efeecf9c714bf62b3.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/xmerl/src/xmerl_xpath.erl')
-rw-r--r-- | lib/xmerl/src/xmerl_xpath.erl | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/lib/xmerl/src/xmerl_xpath.erl b/lib/xmerl/src/xmerl_xpath.erl index bbebda1030..6146feba49 100644 --- a/lib/xmerl/src/xmerl_xpath.erl +++ b/lib/xmerl/src/xmerl_xpath.erl @@ -43,13 +43,27 @@ %% </pre> %% %% @type nodeEntity() = -%% xmlElement() -%% | xmlAttribute() -%% | xmlText() -%% | xmlPI() -%% | xmlComment() -%% | xmlNsNode() -%% | xmlDocument() +%% #xmlElement{} +%% | #xmlAttribute{} +%% | #xmlText{} +%% | #xmlPI{} +%% | #xmlComment{} +%% | #xmlNsNode{} +%% | #xmlDocument{} +%% +%% @type docNodes() = #xmlElement{} +%% | #xmlAttribute{} +%% | #xmlText{} +%% | #xmlPI{} +%% | #xmlComment{} +%% | #xmlNsNode{} +%% +%% @type docEntity() = #xmlDocument{} | [docNodes()] +%% +%% @type xPathString() = string() +%% +%% @type parentList() = [{atom(), integer()}] +%% %% @type option_list(). <p>Options allows to customize the behaviour of the %% XPath scanner. %% </p> @@ -115,7 +129,7 @@ string(Str, Doc, Options) -> %% Parents = parentList() %% Doc = nodeEntity() %% Options = option_list() -%% Scalar = xmlObj +%% Scalar = #xmlObj{} %% @doc Extracts the nodes from the parsed XML tree according to XPath. %% xmlObj is a record with fields type and value, %% where type is boolean | number | string |