I have a XML document that looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<citizen>
<military-skills>
<military-skill>
<level>Marksman</level>
<points>1620.735</points>
<name>Strength</name>
</military-skill>
</military-skills>
</citizen>
I want to get the value from the tag "points" using PHP SimpleXML.
In another place, I read I could use "$xml->children()->points;" but it ain't working.
If anyone wonders, this is the XML document I want to import.