appendChild() matter, was: Bug in importFromString() ????
Brought to you by:
bs_php,
nigelswinson
From: J. C. <jan...@im...> - 2002-05-15 10:18:19
|
> 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? Cheers Jan |