java - How to extract a list of string from xml file? -


i have xml file , attribute "name" in of tags. if give correct xpath - there way extract list of strings, each element being 1 of values of attribute? (i not need entire list of dom nodes...)

with xpath 2.0 or xquery can write //@name/string() sequence of string values of name attributes in document. xpath 1.0 can select attribute nodes //@name need use host language (e.g. java) build list of attribute values.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -