HF RL Explorer

Task: XPath - Select Nodes Where a Specific Attribute Exists

Task: XPath - Select Nodes Where a Specific Attribute Exists: a task in Terminal-Lego-15k (Harbor dataset). You need to write an XPath expression and use it to extract all bar nodes that have the attribute foo from a given XML file. The results should be written to an output file.

The task

You need to write an XPath expression and use it to extract all `bar` nodes that have the attribute `foo` from a given XML file. The results should be written to an output file.

Part of PrimeIntellect/Terminal-Lego-15k.