diff options
Diffstat (limited to 'lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl')
-rw-r--r-- | lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl b/lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl index c3a1fb9c4d..77adde85e9 100644 --- a/lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl +++ b/lib/xmerl/test/xmerl_SUITE_data/xpath/xpath_text.erl @@ -13,16 +13,16 @@ -include_lib("xmerl/include/xmerl.hrl"). -import(xmerl_xs, - [ xslapply/2, value_of/1, select/2, built_in_rules/2 ]). + [ xslapply/2, value_of/1, select/2, built_in_rules/2 ]). one() -> - ?line {A,_}=xmerl_scan:file('motorcycles.xml'), - ?line [["Suzuki","Yamaha"]] = template(A), + {A,_}=xmerl_scan:file('motorcycles.xml'), + [["Suzuki","Yamaha"]] = template(A), ok. %%% templates, test of OTP-5268 template(E = #xmlElement{name='motorcycles'}) -> - [value_of(select("bike/name/manufacturer/text()",E))]; + [value_of(select("bike/name/manufacturer/text()",E))]; template(E) -> built_in_rules(fun template/1, E). |