hi,
I want to get the value of the attribute of type ID.
e.g
<book>
<article id="25100741">Introduction</article>
</book>
I want to take the "25100741".How it is possible??
I tried to do that But got the "Introduction". I 'm pasting the part of the code.
Hopefully u will tell me how can I do that & Why my this code is not doing the right thing??
thanx in advance
my code is
I'm doing all this in function startelement
if (strcmp($nameof tag, "article") ==0)
$value=$attr["id"];
So here in variable have the value "Introduction" but I want "_25100741".
how can it possible?