Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm trying to loop through an XML object's nodes to do stuff for each node, but I'm not sure how to reference the current node, read its label, and read its data. Any help would be appreciated. I don't see anything in the expressions or actions.
Develop games in your browser. Powerful, performant & highly capable.
Decided to read C2 docs and learn some XPath
According to C2 docs: In a loop in C2 XPath relative paths are relative to the current loop node.
And according to XPath docs: XML.StringValue("name()") will return node names