xpath - Xquery: Dividing the attribute value by spaces -
so i'm trying country codes of river.
<river id="river-donau" country="srb d h hr sk bg ro md ua"> </river>
how can access them individually?
this splits attribute @ whitespace, allowing multiple following each other, , returns them sequence:
//@country/tokenize(., '\s+')
Comments
Post a Comment