JVCL Help:TJvSimpleXML.OnEncodeValue

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when a value is to be encoded.


Pascal

 propertyOnEncodeValue: TJvSimpleXMLEncodeEvent;


Description

Write a handler for this event to do special processing to the XML data of tag and attribute values. The normal processing of JvSimpleXML (if sxoAutoEncodeValue is set in Options) is to encode all tag and attribute values using the SimpleXMLEnocde function but you can handle all encoding/decoding yourself using any of the events OnEncodeValue, OnDecodeValue, OnEncodeStream and OnDecodeStream.
Note that if you assign a handler to this event, the default decoding is not performed, regardless of the value of sxoAutoEncodeValue.


See Also

TJvSimpleXML.OnDecodeValue, TJvSimpleXML.OnEncodeStream, TJvSimpleXML.OnDecodeStream


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page