Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Prism XML Fehler beim CreateDocumentType (https://www.delphipraxis.net/79631-xml-fehler-beim-createdocumenttype.html)

APDel 25. Okt 2006 16:05


XML Fehler beim CreateDocumentType
 
Hallo

Kann mir jemand sagen, wieso folgender Teil bei mir nicht funzt?
Ich bekommen bei Zeile 4 die Fehlermeldung

[Pascal Fehler] clsXML.pas(61): E2250 Es gibt keine überladene Version von 'CreateDocumentType', die man mit diesen Argumenten aufrufen kann



uses
System.Xml,
System.Xml.Schema,
System.Xml.Xsl,
system.Xml.XPath,
system.Xml.Serialization,

VAR attr: XmlAttribute;
xmldoc: XmlDocument;
xmlDocTyp: XmlDocumentType;
node: XmlNode;
strPath : String;
xmlDecl : xmlDeclaration;

begin

xmldoc := XmlDocument.Create;
XmlDecl := xmldoc.CreateXmlDeclaration('1.0', 'utf-8', 'yes');
xmldoc.AppendChild(XmlDecl) ;
xmlDocTyp := xmldoc.CreateDocumentType('BMECAT',nil, 'XY.dtd',nil);
xmldoc.AppendChild (xmlDocTyp) ;
......


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:42 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