123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
-
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlCreateMemoryReader (*creates an xml memory reader*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- pXmlMemory : UDINT; (*pointer to the XML data*)
- memorySize : UDINT; (*size of the XML data*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- ident : UDINT; (*identifier*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlCloseMemoryReader (*closes the xml memory reader*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlReadNextNode (*reads the next XML node*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- forceRead : BOOL; (*reads next Node even if last node could not be read successfully*)
- skipSubtree : BOOL; (*avoids XML nodes in the subtree*)
- pName : UDINT; (*pointer to buffer for the XML node name*)
- nameSize : UDINT; (*size of the buffer for the XML node name*)
- pValue : UDINT; (*pointer to buffer for the XML node value*)
- valueSize : UDINT; (*size of the buffer for the XML node value*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- nodeType : UDINT; (*type of the XML node*)
- depth : UDINT; (*depth of the XML node*)
- isEmpty : BOOL; (*empty XML node?*)
- attributeCount : UDINT; (*number of attributes*)
- neededNameSize : UDINT; (*needed name buffer size*)
- neededValueSize : UDINT; (*needed value buffer size*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlReadAttributeNr (*reads the next attribute of the XML node*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- index : UDINT; (*index of the attribute to read*)
- pName : UDINT; (*pointer to buffer for the attribute name*)
- nameSize : UDINT; (*size of the buffer for the XML attribute name*)
- pValue : UDINT; (*pointer to buffer for the attribute value*)
- valueSize : UDINT; (*size of the buffer for the XML attribute value*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- neededNameSize : UDINT; (*needed name buffer size*)
- neededValueSize : UDINT; (*needed value buffer size*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlCreateMemoryWriter (*creates an xml memory writer*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- ident : UDINT; (*identifier*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlGetMemoryInfo (*gets the pointer to and the size of the created XML data*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, 0xXXXX = see help*)
- pXmlData : UDINT; (*pointer to the created XML data*)
- xmlDataSize : UDINT; (*size of the created XML data*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlCloseMemoryWriter (*closes the xml memory writer and releases the allocated memory*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteStartDocument (*writes the version and the encoding of the document*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pVersion : UDINT; (*pointer to the version*)
- pEncoding : UDINT; (*pointer to the encoding*)
- pStandalone : UDINT; (*pointer to the standalone text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteStartDocEnc (*writes the version and the encoding of the document and sets the input encoding*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pVersion : UDINT; (*pointer to the version*)
- pInputEncoding : UDINT; (*pointer to the input encoding e.g. "ISO-8859-1"*)
- pOutputEncoding : UDINT; (*pointer to the output encoding e.g. "UTF-8"*)
- pStandalone : UDINT; (*pointer to the standalone text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteEndDocument (*finishes the document*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteStartElement (*starts a new XML element*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pName : UDINT; (*pointer to the XML element name*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteAttribute (*adds an attribute to the current XML element*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pName : UDINT; (*pointer to the XML attribute name*)
- pValue : UDINT; (*pointer to the XML attribute value*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteElementText (*writes an XML element text*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pText : UDINT; (*pointer to the element text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteElementTextEx (*writes an XML element text*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pText : UDINT; (*pointer to the element text*)
- textLen : UDINT; (*length of the element text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteEndElement (*closes the current XML element*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteComment (*writes an XML comment*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pText : UDINT; (*pointer to the comment text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteCommentEx (*writes an XML comment*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pText : UDINT; (*pointer to the comment text*)
- textLen : UDINT; (*length of the comment text*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteCData (*writes an XML CDATA Section*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pCData : UDINT; (*pointer to the CDATA data*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWriteCDataEx (*writes an XML CDATA Section*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pCData : UDINT; (*pointer to the CDATA*)
- cdataLen : UDINT; (*length of the CDATA*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
- {REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK xmlWritePI (*writes an XML process instruction*)
- VAR_INPUT
- enable : BOOL; (*enables execution*)
- ident : UDINT; (*identifier*)
- pTarget : UDINT; (*pointer to the process instruction*)
- pValue : UDINT; (*pointer to the pi value*)
- END_VAR
- VAR_OUTPUT
- status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
- END_VAR
- END_FUNCTION_BLOCK
|