Re: [xml] xpath and the document order



On Sun, 2005-05-08 at 00:11 +0400, Oleg A. Paraschenko wrote:

xpath = '/warning//text()'

You need to match a node under the // -- Mike Kay has
written about this effect.  Also watch that / (not //)
sorts and uniquifies the nodelist, so the effect isn't seen
often.

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin
Pictures from old books: http://www.holoweb.net/~liam/pictures/oldbooks/
IRC (chat) programs: www.ircreviews.org/clients/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]