Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-09

XML question

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszijk

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

Reply by email