in reply to Re^4: Select Nodein thread Select Node
What's in $xpath and what does it look like after formatting ?