Extract value from xml-tag

Hi there!

I got an xml-file with the following structure:

<?xml version=“1.0” encoding=“UTF-8”?>
<p:ticker xmlns:p=“http://www.synyx.de/werbeplattform
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.test.de/ ticker.xsd “>
<p:entry>
<p:headline>Headline1</p:headline>
<p:teaser>teaser1</p:teaser>
[COLOR=Red][COLOR=Black]<p:content target=[/COLOR]”_self”[COLOR=Black]>http://www.test.de</p:content>[/COLOR][/COLOR]
</p:entry>
</p:ticker>

I need to extract the [COLOR=Red]"_self"[/COLOR] from target somehow. Can anybody help me and tell me how I can access the target value?

Thanks in advance,

ras