Does anyone know how to select specific character or part in XML value in node?
For example I have value <Country> Holland </Country>
or <City>'s-Hertogenbosch</City>
and I want to select 'a' character from <Country>
and '
(single quote) in <City>
without using substring() functions: how can I achieve that? I tried almost everything, but except substring, substring-before, substring-after neither is working.
I solve this two days ago , first i rendered whole data with render-xml() function and in the output whole node-set is provided as a string..then i split that string with function tokenize() in every single quote character or 'a'..for example
tokenize($string, "&")
and the in the other variable i put them together like thisstring-join($tokenize, "\&t;")
..it seems to work for me...previous i usedconcat-sequence-format(&tokenize,"\&t;")
as instead of string i insert a node-set, but obviously is not working (as a node-set)and i don't know why.