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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -