Hi, I am using PHP SAX (open/close and cdata handlers) method to parse files and storing certain fields in an array. I am having some trouble differentiating between duplicate tag names. For example:
<STUDENT>
<NAME>bob</NAME>
</STUDENT>
<FATHER>
<NAME>rob</NAME>
</FATHER>
How would I be able to distinguish between the two, and store each name under different keys?
Thank you in advance!