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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -