ConFoo Montreal 2026: Call for Papers

Voting

: min(three, six)?
(Example: nine)

The Note You're Voting On

whyme
12 years ago
Simple means simple. If you know the structure and just want the value of a tag:

<?php
$xml
= simplexml_load_file($xmlfile);
print
$xml->City->Street->Address->HouseColor;
?>

Warning, numbers can come out as strings, empty elements like <HouseColor></HouseColor> come out as array(0)

<< Back to user notes page

To Top