🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.xml
Article #211

Re: Too stupid for XPath?

#211
From: Stefan M. Huber
Date: Mon, 23 Jun 2008 11:40
17 lines
1416 bytes
On Mon, 23 Jun 2008 12:00:34 +0200, Stefan M. Huber <looseleaf@gmx.net>
wrote:

> Hi!
>
>    I am trying to use XPath in a D2005 application. But I fail, of  
> course.
> The problem is that nodeValue of the selected nodes is always empty.

OK, found it. There's obviously no nodeValue but a collection of
childNodes. And if there's a TEXT_NODE this is what I thought to be the
nodeValue. Thus I iterate through the child nodes.

If anyone sees my just cancelled posting: I changed the XML in the wrong  
place...

Stefan
Technical Details
Message-ID: <op.uc69c4fks9ddfw@ws-6>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <op.uc64q8kbs9ddfw@ws-6>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,d44954f9f97a5937
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 23 Jun 2008 13:40:06 +0200
Subject: Re: Too stupid for XPath?
From: "Stefan M. Huber" <looseleaf@gmx.net>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.delphi.xml
References: <op.uc64q8kbs9ddfw@ws-6>
Content-Transfer-Encoding: 7bit
Message-ID: <op.uc69c4fks9ddfw@ws-6>
User-Agent: Opera Mail/9.50 (Win32)
NNTP-Posting-Host: 91.113.174.42
X-Trace: newsgroups.borland.com 1214221209 91.113.174.42 (23 Jun 2008 04:40:09 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail