HF RL Explorer

XPath Multiple-Tag Selection Task

XPath Multiple-Tag Selection Task: a task in Terminal-Lego-15k (Harbor dataset). You are given an XML document containing multiple nested elements. Your task is to extract only the <C , <D , and <E elements that are children of <B elements, while excluding any matching tags that appear outside of…

The task

You are given an XML document containing multiple nested elements. Your task is to extract only the `<C>`, `<D>`, and `<E>` elements that are children of `<B>` elements, while excluding any matching tags that appear outside of `<B>`.

Part of PrimeIntellect/Terminal-Lego-15k.