![]() |
AW: xml file erstellen
doch noch ne Frage ;-)
Delphi-Quellcode:
erstellt die Atttribute des Notes "Styles".
TDOMElement(nDocSettings).SetAttribute('ss:ID', 'Default');
Folgendermassen hänge ich ein Note als Kind ein.
Delphi-Quellcode:
aber wie bekomme ich die Attribute des Notes "Style" erstellt?nDocSettings := doc.CreateElement('Styles'); nDocSettings.AppendChild(doc.CreateElement('Style')); erledigt, danke ;-) so:
Delphi-Quellcode:
hab nachgedacht ;-)
nDocSettings := doc.CreateElement('Styles');
nChild:= nDocSettings.AppendChild(doc.CreateElement('Style')); TDOMElement(nChild).SetAttribute('ss:ID', 'Default'); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:52 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz