XPath by Rory

XPath normalize-space

The normalize-space() function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters with a single space.

//tagname[normalize-space()='value']

Comments

Leave a Comment

All fields are required. Your email address will not be published.