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 <anode>, but is the NodeValue() of a _child_ of
>  > <anode>.
>
> 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 
> a
> Lazarus/FPC programmer. :)
.
> I got '#text' string on "n" variable. This confirms Tony's information that
> node value that I'm looking for is actually a child node (with "#text" as the
> node's name). :)

i'm not sure ... but i think that having the "#text" child node is per
the spec :

http://www.w3.org/XML/

in any event, as i said, every Java DOM parser i've worked with does
it that way.

glad to have helped.

> -Bee-

Tony
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to