Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > The method in question is the TDomNode.Attributes.Length property. I thought > > something like that shoud exist but I was looking for a Count property. > > Shouldn't it be count instead? > > Talk about not being very intuitive. As I mentioned

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-04 Thread Frank Church
On 4 December 2011 11:46, Graeme Geldenhuys wrote: > On 2 December 2011 22:26, Frank Church wrote: > > > > The method in question is the TDomNode.Attributes.Length property. I > thought > > something like that shoud exist but I was looking for a Count property. > > Shouldn't it be count instead?

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-04 Thread Graeme Geldenhuys
On 2 December 2011 22:26, Frank Church wrote: > > The method in question is the TDomNode.Attributes.Length property. I thought > something like that shoud exist but I was looking for a Count property. > Shouldn't it be count instead? Talk about not being very intuitive. As I mentioned in another

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 20:43, Sven Barth wrote: > On 02.12.2011 21:26, Frank Church wrote: > >> >> >> On 2 December 2011 19:45, Mattias Gaertner > >> > wrote: >> >>On Fri, 2 Dec 2011 19:30:17 + >>Frank Church mailto:vfcli...@gmail.com>> wrote: >> >>

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Sven Barth
On 02.12.2011 21:26, Frank Church wrote: On 2 December 2011 19:45, Mattias Gaertner mailto:nc-gaert...@netcologne.de>> wrote: On Fri, 2 Dec 2011 19:30:17 + Frank Church mailto:vfcli...@gmail.com>> wrote: > On 2 December 2011 19:09, Mattias Gaertner mailto:nc-gaert...@netc

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 19:45, Mattias Gaertner wrote: > On Fri, 2 Dec 2011 19:30:17 + > Frank Church wrote: > > > On 2 December 2011 19:09, Mattias Gaertner >wrote: > > > > > On Fri, 2 Dec 2011 18:59:25 + > > > Frank Church wrote: > > > > > > > Is there a way of knowning the attribute count

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Mattias Gaertner
On Fri, 2 Dec 2011 19:30:17 + Frank Church wrote: > On 2 December 2011 19:09, Mattias Gaertner wrote: > > > On Fri, 2 Dec 2011 18:59:25 + > > Frank Church wrote: > > > > > Is there a way of knowning the attribute count of a TDOMNode as well as > > > reading the value of an attribute if

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 19:09, Mattias Gaertner wrote: > On Fri, 2 Dec 2011 18:59:25 + > Frank Church wrote: > > > Is there a way of knowning the attribute count of a TDOMNode as well as > > reading the value of an attribute if it exists? > > HasAttribute:=(Node is TDOMElement) and > (TDOMElement.

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Mattias Gaertner
On Fri, 2 Dec 2011 18:59:25 + Frank Church wrote: > Is there a way of knowning the attribute count of a TDOMNode as well as > reading the value of an attribute if it exists? HasAttribute:=(Node is TDOMElement) and (TDOMElement.hasAttribute('Name')); Attribute value: if Node is TDOMElement