Just Returning The Text Of Elements In Xpath (python / Lxml) May 30, 2024 Post a Comment I have an XML structure like this: mytree = ''' 1 2 Solution 1: You can use: print info.xpath("/path/to/nodes/info/text()") Copy Share Post a Comment for "Just Returning The Text Of Elements In Xpath (python / Lxml)"
Post a Comment for "Just Returning The Text Of Elements In Xpath (python / Lxml)"