Re: appendChild() matter, was: Bug in importFromString() ????
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-05-16 01:36:11
|
> > Actually it is the XPath of the inserted node. I change this recently but > > didn't update the header.... oops :o) > > Right, but it does not really return the full path - just e.g. > "/root[1]/TEST" but to use > the return value I need "/root[1]/TEST[1]" or with this xml > > <root><test/><test/></root> > > it would be nice if it returns "/root[1]/TEST[3]" after inserting. > > Well, I could use insertBefore() and always add "[1]" at the end of the > return value, > but that isn't the best way I think. > > Or do I miss something again? Nope, you didn't you found another bug :o) It's been fixed. You'll find it in CVS... Thanks again, Nigel |