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_xs.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_xs.erl')
-rw-r--r-- | lib/xmerl/src/xmerl_xs.erl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/xmerl/src/xmerl_xs.erl b/lib/xmerl/src/xmerl_xs.erl index 3e9f6622b8..1ce76cfa41 100644 --- a/lib/xmerl/src/xmerl_xs.erl +++ b/lib/xmerl/src/xmerl_xs.erl @@ -45,7 +45,6 @@ % XSLT package which is written i C++. % See also the <a href="xmerl_xs_examples.html">Tutorial</a>. % </p> - -module(xmerl_xs). -export([xslapply/2, value_of/1, select/2, built_in_rules/2 ]). @@ -71,15 +70,13 @@ %% xslapply(fun template/1, E), %% "</h1>"]; %% </pre> - xslapply(Fun, EList) when is_list(EList) -> - lists:map( Fun, EList); + lists:map(Fun, EList); xslapply(Fun, E = #xmlElement{})-> lists:map( Fun, E#xmlElement.content). - %% @spec value_of(E) -> List -%% E = unknown() +%% E = term() %% %% @doc Concatenates all text nodes within the tree. %% |