I am using the default xml parsing engine that ships with php 4. I have a little dilemma I am hoping someone can address. I know that the php parser can understand regular and short hand xml like these:
short-hand: <tag/>
regular: <tag name="value">data</tag>
My question is how can I write some code to differientiate between the two forms. More specifically, in my 3 main callback functions, open(), close(), and data(), is there a way I can "know" whether the current tag is regular or shorthand.
--thanks