I have XML data inside a variable.
I now need to search for a specific text inside this variable.
Can anyone point me in the right direction? I've been googling this but no good results :o/
The XML data looks like this:
<status>
<connection_status>successful</connection_status>
<operation_status>successful</operation_status>
<Options>
<data_2>
<data_7422731>
<id>7431</id>
<assetId>2</assetId>
<startDate>2013-03-05 11:00:00</startDate>
<endDate>2013-03-05 12:00:00</endDate>
</data_7422731>
</data_2>
</Options>
</status>
I need to search for a specified ID.
For example the id "7431"