Hi all,
I have a XML document and need just a part from it. A simple message
to show on a dialog.
<document>
....
 <message>Hello word</message>
....
</document>

I did :

ShowMessage(Document.FindNode('message').NodeValue)

but it returns an empty string. Showing NodeName returns 'message'.

How to get the contents of the <message> tag ???? Is it working ?

Also if we have

<tag>
  <inner_tag>
.....
  <inner_tag>
.....
</tag>

will NodeValue return the string between the <tag> tag ????

I've noticed that thare is no simple way to get / set that string as
it is in delphi / msxml.

Regards.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to