I assume since you asked for the text
property the node you'd like to match is the strong tag (the only one with content).
If you are guaranteed only one <strong>
tag from the document root and the level of nesting is irrelevant, the simplest xpath would be:
//strong/text()
To match via class specifically as well:
//strong[@class="select"]/text()
//
will start from the document root, and @
is an attribute match clause.
http://www.b624.net/modelare-software-uml-si-xml/laboratoare-an-3-is/xpath-cheat-sheet