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
Post a Comment