Autor Beitrag
boro
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 26.08.09 22:35 
Hi,

ich versuche mit TXMLDocument Texte ins XML Datei zu schreiben. Leider verliere ich dabei die Leerzeichen am Anfang des Textes. Z.B. IXMLNode.SetAttribute('attrib',' meintext') endet mit <knoten attrib="meintext" /> anstatt <knoten attrib=" meintext" />

Wie kann ich text wie ' etwas' auch mit Leerzeichen am Anfang ins XML Detei speichern?

Danke fur jeden hinweis.

Boro
himitsu
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 40



BeitragVerfasst: Do 27.08.09 07:00 
DP-CrossPost: www.delphipraxis.net...teidatum+setzen.html

[edit]
oops, da hatte ich wohl 'nen falschen Link im Speicher :shock:

_________________
warum einfach wenn's auch kompliziert geht
schreib wie du willst und halt dich an keine standards


Zuletzt bearbeitet von himitsu am So 30.08.09 13:56, insgesamt 1-mal bearbeitet
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 27.08.09 07:55