Hello, Im writing a web-app in php using the technique explained in the “XML Parsing using PHP” tutorials. The xml file is generated by another application so i cannot alter its structure.
My problem is that some of the information i need to display is stored as attributs e.g.
<notes>
<notes name="headin">
<notes name="sub-heding">
<note name="note name">
<text>
note content here.
</text>
</note>
<note name="note name">
<text>
note content here.
</text>
</note>
<notes>
</notes>
</notes>
is their a way to extract the attributes?