Parsing XML Query

Hi guys,

I’ve been following the tutorials, and I have to say they are fantastic! Only problem I’ve got is, an xml file I am trying to parse, using php, has a mixture of data in between tags, and data within tags.

For example:

<username>danhkent</username>

and then

<details>
<username=“danhkent”/>
</details>

Frustratingly, it just naturally produces a blank line when trying to parse it.

Any ideas?

Cheers,

Dan