I have this XML here:
<?xml version="1.0"?>
<scopes>
<item>
<scope>scope1</scope>
<description>description of the scope</description>
<scopeID>12vkjlasc</scopeID>
</item>
<item>
<scope>scope2</scope>
<description>description of the scope2</description>
<scopeID>8s9sm2emk</scopeID>
</item>
<item>
<scope>scope3</scope>
<description>description of the scope3</description>
<scopeID>7tqsxjnds</scopeID>
</item>
</scopes>
now i want to have the item with a specific scopeID as my output, what i mean is, if lets say i know a scopeID, assume it to be '12vkjlasc', then i get the output from my above XML as :
<item>
<scope>scope1</scope>
<description>description of the scope</description>
<scopeID>12vkjlasc</scopeID>
</item>
or even this would work:
<scope>scope1</scope>
<description>description of the scope</description>
<scopeID>12vkjlasc</scopeID>
Any ideas? Thx in advance!