[Home] [By Thread] [By Date] [Recent Entries]
At 04:53 PM 6/20/2006, it was written:
SORRY, that was wrong. Following-sibling selects ALL nodes that follow, so you want select="following-sibling[1]" This will select the first child element named "following-sibling". The XPath is an abbreviation for "child::following-sibling[1]". Since no axis specifier is given explicitly, child:: is assumed. I think you meant "following-sibling::*[1]" or "following-sibling::LastName[1]". (In other words, Mukul's solution is correct.) Cheers, Wendell
|

Cart



