🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.xml
Article #10188

Re: xpath - wszystkie elementy o atrybucie COS_*

#10188
From: toudidel
Date: Sun, 07 Jun 2009 07:33
9 lines
1519 bytes
On 6 Cze, 23:07, kornik <kor...@kornik.pl> wrote:
> jaki powinien być warunek xpath aby np. wybrać wszystkie DIV-y
> które mają atrybut zawierający tekst COS_

właśnie, kluczem są funkcje...

//div[starts-with(@class,'COS_')]
--
td
Technical Details
Message-ID: <18abf54d-2326-4fab-9b40-e074d02d8326@a36g2000yqc.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a36g2000yqc.googlegroups.com!not-for-mail
References: <h0elqb$arl$1@portraits.wsisiz.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a36g2000yqc.googlegroups.com!not-for-mail
From: toudidel@o2.pl
Newsgroups: pl.comp.xml
Subject: Re: xpath - wszystkie elementy o atrybucie COS_*
Date: Sun, 7 Jun 2009 00:33:19 -0700 (PDT)
Organization: http://groups.google.com
Lines: 9
Message-ID: <18abf54d-2326-4fab-9b40-e074d02d8326@a36g2000yqc.googlegroups.com>
References: <h0elqb$arl$1@portraits.wsisiz.edu.pl>
NNTP-Posting-Host: 78.88.57.54
Mime-Version: 1.0
X-Trace: posting.google.com 1244359999 32346 127.0.0.1 (7 Jun 2009 07:33:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 7 Jun 2009 07:33:19 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a36g2000yqc.googlegroups.com; posting-host=78.88.57.54;  posting-account=jvTwrQoAAADa0VICrUpfQ1v6IPtatuJZ
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64;  Trident/4.0; SLCC1; .NET CLR 2.0.50727; FDM; .NET CLR 3.5.21022; .NET CLR  3.5.30729; .NET CLR 3.0.30618),gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit