Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   nochmal XML Zellen mit Inhalt füllen (https://www.delphipraxis.net/185683-nochmal-xml-zellen-mit-inhalt-fuellen.html)

khh 29. Jun 2015 15:47

nochmal XML Zellen mit Inhalt füllen
 
Hallo zusammen,
alsooo, mit

Delphi-Quellcode:
     nChildChild:= nChild.AppendChild(doc.CreateElement('Data'));
     TDOMElement(nChildChild).SetAttribute('ss:Type', 'String');
lege ich ein element vom Type String an.
jetzt möchte ich das Feld mit Inhalt füllen.

Delphi-Quellcode:
  TDOMNode(nChildChild).setNodeValue('bla');
funktioniert nicht.
error-identifier idents no member -setNodeValue-

SetNodeValue ist doch eine Procedure der Klasse TDOMNode, wo ist der Fehler?

EDIT: alsoo SetNodeValue ist protected

aber wie bekomme ich sonst den Wert in die Zelle?

jemand nen Tipp??

ich danke euch


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz