In this example, the for-each will 'execute' once for each node in the nodeset gathered up by //action. Within the for-each, the context is the current node of that nodeset, so this outputs the value of each different action node.
This is XPath shorthand for the self axis. Learn more about XPath here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.