Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: xpath question [Thread Next] Re: xpath questionTo: NULL Date: 4/13/2007 4:43:00 PM "toudidel" <xml@n...> wrote in message news:%23%23nB%23UUfHHA.1816@T...... > you ought to be carefull: not(@type) may return nodes without attribute > and nodes with attribute containing empty string (eg. <thing type="">) > > from my experience better will be: thing[string-length(@type)=0] instead > of thing[not(@type)] > > td This is not better but plainly wrong -- nodes such as: <thing type=""/> will be returned. Cheers, Dimitre Novatchev | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
