Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-11 Thread Felipe Monteiro de Carvalho
On 12/10/05, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > I'll give it a try. Does it need some kind of approval from the wiki admin to > submit an article? No. Just hit the "Edit button" and edit the space reserved for XML. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-10 Thread Tony Pelton
On 12/8/05, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > > i think you are going to find that "my node value" is not the > > NodeValue() of , but is the NodeValue() of a _child_ of > > . > > Thanks Tony... using your information, I've found what the problem is. It's a > different way of understandi

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
Note the spelling: != No, that's not it. It's just some mistypo errors when I paste the XML to the email. But, I'm sure the actual XML is correct. :) The problem has been solved anyway. :) -Bee- has Bee.ography at http://beeography.blogsome.com __

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
Can you improve the already existing article about XML on Lazarus documentation? I'll give it a try. Does it need some kind of approval from the wiki admin to submit an article? This way others witch try to use XML DOM on Free Pascal will benefit from your experience =P Yup... don't let ot

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Felipe Monteiro de Carvalho
Hi, On 12/8/05, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > Thanks Tony... using your information, I've found what the problem is. It's a > different way of understanding XML node, between a Delphi XML (DOM) component > and a FPC DOM unit. I used to be a Delphi programmer, trying to migrate to be >

[fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Jeff Pohlmeyer
> Here's the complete XML file I was trying to read... > ... Not sure if this is part of the problem, but this line: 2005.01.20 12:26:58 Note the spelling: != - Jeff ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepa

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-09 Thread Bisma Jayadi
> i think you are going to find that "my node value" is not the > NodeValue() of , but is the NodeValue() of a _child_ of > . Thanks Tony... using your information, I've found what the problem is. It's a different way of understanding XML node, between a Delphi XML (DOM) component and a FPC DOM

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Tony Pelton
i'm going to speak out of turn here ... i've got a ton of XML experience ... on Java. I haven't used the Pascal DOM, but i'm guessing i know what the issue is, because it is a common point of confusion for people who don't know XML DOM frameworks well. i of course may end up being completely off

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Bisma Jayadi
Perhaps it contains whitespace? It's possible that the XML parser creates more than one text node. Hmmm... it sounds weird if a whitespace would create (automatically) another text node 'cause it would change the XML structures. Do you have an excerpt of your XML file? This would be very hel

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Sebastian Günther
Bisma Jayadi schrieb: > Hi all... > > I'm currently developing a Lazarus application which need to read an XML > file. In order to do such a task, FPC has provided DOM unit (dom.pp). > But, it seems that dom.pp is unable to read XML element's (text) value. > It succesfully read element's name (thr

[fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Bisma Jayadi
Hi all... I'm currently developing a Lazarus application which need to read an XML file. In order to do such a task, FPC has provided DOM unit (dom.pp). But, it seems that dom.pp is unable to read XML element's (text) value. It succesfully read element's name (through NodeName property) and at