XML question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

XML question

Darius Blaszyk
Hi,

I have a problem with empty elements (<node/>) in XML. Does anybody know
how I can fill them with data??

The code I was willing to use was this:

if not Assigned(n.FirstChild) then
  n.AppendChild(TDOMNode.Create(doc));

But it doesn't work. So how can I make it work??

I want to assign something to n.NodeValue eventually.

Darius Blaszijk


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal