aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xpath.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-09-12 10:48:41 +0200
committerLars Thorsen <[email protected]>2016-09-12 10:48:41 +0200
commite1bcf7f909fbb109616e8c4efeecf9c714bf62b3 (patch)
tree79b6a45b7837e8263850013f413934fbf22a6474 /lib/xmerl/src/xmerl_xpath.erl
parentf792ea463770bbd4464cef347aef6e3f8606687b (diff)
parent5ee6a8af63c9d450e5cc6e9cfa9d5890adbde092 (diff)
downloadotp-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.erl30
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