How could I go about testing for the existance of a value in my XML?
say:
<person>
<name value="Peter">
<address>75 Hunts Street</address>
</name>
<name value="Andrew">
<address></address>
</name>
<name>
<address>45 Main</address>
</name>
</person>
For the above how could I go about using the for-each to only display on values but not empties?
Thank you!!!!
say:
<person>
<name value="Peter">
<address>75 Hunts Street</address>
</name>
<name value="Andrew">
<address></address>
</name>
<name>
<address>45 Main</address>
</name>
</person>
For the above how could I go about using the for-each to only display on values but not empties?
Thank you!!!!