A) Manage XML Schema |
[Top] [Chapter] [Previous] [Next] |
Mode=0: Set the schema mode. The first parameter can have this values: "clear" - clear schema and disable the XML editing "off" - don't clear the schema, but switch editing off "on" - enable XML editing and XML Popup
Mode=1: Load the schema from the file "Value". Use SetXMLSchema("on",0) to activate XML editing!
Mode=2: Save the schema to a file.
Mode=3: Load the schema from a string.
Mode=4: Load XML data from a file into the editor. Alternatively this can be done using the regular load methods when using the format string "XMLTAGS-utf8".
Mode=5: Save XML data in editor to a file. Alternatively this can be done using the regular save methods when using the format string "XMLTAGS-utf8".
Example: wpdllInt1.Memo.SetXMLSchema(@"\XMLSchema\naturwissenschaften.xml", 4); wpdllInt1.Memo.SetXMLSchema(@"\XMLSchema\naturwissenschaften.xsd", 1); wpdllInt1.Memo.SetXMLSchema("on", 0); |