Hi all,

I think I need to look into SimpleXML more, which I will be doing, but can anyone advise on this question in a zend mock exam I sat this evening:

When working with SimpleXML in PHP 5, the four basic rules on how the XML document is accessed are which of the following?

(FOUR of these options are true)

  1. Element namespaces are denoted by the 'namespace' attribute
  2. converting an element to a string denotes text data
  3. Non-numeric indexes are element attributes
  4. Numeric indexes are elements
  5. Properties denote element iterators


Cheers,
Picco