XML : How to use simplexml?

  <RESULTS>      <ROW>          <COLUMN NAME="ID"><![CDATA[001]]></COLUMN>          <COLUMN NAME="NAME"><![CDATA[ORG001]]></COLUMN>          <COLUMN NAME='CODE"><![CDATA[1234]]></COLUMN>      </ROW>  <RESULTS>    

Using simplexml i would like to return the attribute text for 'NAME' and 'CODE' for ID 001, there is many rows so the result would be different based on id number

Thanks

No comments:

Post a Comment