5

I must create xml document with node that has more values with same name

<PstlAdr>
  <Ctry>SI</Ctry>
  <AdrLine>Gosposvetska 12</AdrLine>
  <AdrLine>Kranj</AdrLine>
</PstlAdr>

With oNode.ChildValues['AdrLine'] := ... it is not possible - only one value with same name can be added. How can I add more values with same name?

Best regards

Branko
  • 1,384
  • 1
  • 16
  • 35

1 Answers1

6

You can do it like this:

oNode.AddChild('AdrLine').Text := ...
The_Fox
  • 6,992
  • 2
  • 43
  • 69