How to select all elements with a specific attribute? with TinyXPath
XmlXpathTinyxpathXml Problem Overview
What is the XPath expression for selecting all elements with attribute A?
const char* xpath = "//\*/\*[@A]"
Xml Solutions
Solution 1 - Xml
This XPath selects all elements that have an A attribute:
//*[@A]