Answer the question
In order to leave comments, you need to log in
How to get the pure value of an attribute in XPath?
Hello!
Expression: "//a/@href"
Outputs:
And how to get a pure value ? This:
I dug up the entire Internet, I didn’t find anything sensible (except how to use regular expressions). href="site.com/3572"
href
site.com/3572
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question