How to check on nodes' content in Text.XML.Cursor?

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


How to check on nodes' content in Text.XML.Cursor?



I have this XPath works with xmllint


//td[text() = 'USD']/../td[6]/text()



Now I want it to be done in Haskell. But following (not complete of the original XPath) does not work at all. I got empty list error on head.


cur $// element "td" &// check (c → "USD" ≡ head (c $// content))









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

ciZ7Ze,L,E90t,lZ9sLxaC1MVGCBuC10I2
HlNW9rD,WPPl4C8b8 Ik1u7NPDM3 Loj,0 Zwv0lWUri2F7zoswxWz cmAWNiyyj9SRx9

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results