Variant 1:
Code: Select all
fileToString( sPath, sFileData );
// replace icon path in sFileDate
file f = fopen( sPath, "w+" );
fputs( sFileData, f );
fclose( f );
Variant 2:
Code: Select all
fileToString( sPath, sFileData );
// replace icon path in sFileDate
int iDocId = xmlDocumentFromString( sFileData, errMsg, errLine, errColumn );
xmlDocumentToFile( iDocId, sPath );
Gedi: <prop name="Value"></prop>
CTRL: <prop name="Value"/>
Any idea how I can save XML panels in the same formatting as the Gedi does?
WinCC OA 3.16 P015 Windows
Best regards
Christoph