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