[fpc-devel] How to get contents of TDOMNode.NodeValue ???

Alexander Todorov alexx.todorov at gmail.com
Mon Oct 31 15:06:53 CET 2005

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

I did :


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


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.


More information about the fpc-devel mailing list