🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TXMLDocument with Multiple Namespaces

#55
From: Michael Justin
Date: Tue, 22 Apr 2008 05:40
14 lines
1441 bytes
> You will notice that the data node is in the rs namespace and the row node is in the z
> namespace. 

Try GetAttributeNS:

ItemCount := StrToInt(RootNode.GetAttributNS('ItemCount', 
'urn:schemas-microsoft-com:rowset'));

Hope this helps(tm)
-- 
Michael Justin
SCJP, SCJA
betasoft - Software for Delphi™ and for the Java™ platform
http://www.mikejustin.com - http://www.betabeans.de
Technical Details
Message-ID: <480d7a32@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!193.201.147.84.MISMATCH!feeder1.xlned.com!xlned.com!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <1qrp049smjmi0q6nkhrqkek84vo06uteod@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,452d7d6ec3e9d5ff
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,UTF8
Date: Tue, 22 Apr 2008 07:40:49 +0200
From: Michael Justin <michael.justin@nospam.gmx.net>
Reply-To: michael.justin@nospam.gmx.net
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.xml
Subject: Re: TXMLDocument with Multiple Namespaces
References: <1qrp049smjmi0q6nkhrqkek84vo06uteod@4ax.com>
In-Reply-To: <1qrp049smjmi0q6nkhrqkek84vo06uteod@4ax.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 77.128.186.226
Message-ID: <480d7a32@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208842802 77.128.186.226 (21 Apr 2008 22:40:02 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder6.cambrium.nl!feed.tweaknews.nl!193.201.147.84.MISMATCH!feeder1.xlned.com!xlned.com!ecngs!feeder.ecngs.de!news.isoc.lu!newsgroups.borland.com!not-for-mail