[fpc-pascal] XML question

Darius Blaszijk dhkblaszyk at zeelandnet.nl
Sun Sep 11 16:07:52 CEST 2005


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





More information about the fpc-pascal mailing list