🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #10042

Re: jak powinien wyglądać warunek xpath

#10042
From: ruf10
Date: Sat, 03 Jan 2009 08:52
18 lines
1102 bytes
kornik pisze:

> Interesuje mnie element
> //table/tr
> który zawiera <div>007</div>
> 
> 
> Próbowałem tak
> //table/tr/td[div=007]/parent::node()
> 
> Ale dostaje:
> <div>007</div>
> <div>cos </div>
> <div>cos innego</div>

//table/tr[td[div=007]]

piszę z pamięci, nie sprawdzałem
Technical Details
Message-ID: <gjn8vm$6m4$1@achot.icm.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!not-for-mail
References: <gjmah1$vp2$1@portraits.wsisiz.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!not-for-mail
From: ruf10 <rufio@none.pl>
Newsgroups: pl.comp.xml
Subject: Re: jak powinien wyglądać warunek xpath
Date: Sat, 03 Jan 2009 09:52:05 +0100
Organization: http://news.icm.edu.pl/
Lines: 18
Message-ID: <gjn8vm$6m4$1@achot.icm.edu.pl>
References: <gjmah1$vp2$1@portraits.wsisiz.edu.pl>
NNTP-Posting-Host: chello087207029165.chello.pl
Mime-Version: 1.0
X-Trace: achot.icm.edu.pl 1230972726 6852 87.207.29.165 (3 Jan 2009 08:52:06 GMT)
X-Complaints-To: abuse@icm.edu.pl
NNTP-Posting-Date: Sat, 3 Jan 2009 08:52:06 +0000 (UTC)
In-Reply-To: <gjmah1$vp2$1@portraits.wsisiz.edu.pl>
User-Agent: Thunderbird 2.0.0.18 (X11/20081125)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit