/**
  * handles XML data
  */
 public static function tagContent($parser, $data)
 {
     if (PccConfig::$parent_tag_name == 'Config') {
         if (PccConfig::$child_tag_name == "ApiKey") {
             PccConfig::$apiKey = $data;
         }
         if (PccConfig::$child_tag_name == "DocumentPath") {
             PccConfig::$documentPath = $data;
         }
         if (PccConfig::$child_tag_name == "WebServiceHost") {
             PccConfig::$webServiceHost = $data;
         }
         if (PccConfig::$child_tag_name == "WebServicePort") {
             PccConfig::$webServicePort = $data;
         }
         if (PccConfig::$child_tag_name == "WebServicePath") {
             PccConfig::$webServicePath = $data;
         }
         if (PccConfig::$child_tag_name == "WebServiceV2Path") {
             PccConfig::$webServiceV2Path = $data;
         }
         if (PccConfig::$child_tag_name == "WebServiceScheme") {
             PccConfig::$webServiceScheme = $data;
         }
         if (PccConfig::$child_tag_name == "MarkupsPath") {
             PccConfig::$markupsPath = $data;
         }
         if (PccConfig::$child_tag_name == "ImageStampPath") {
             PccConfig::$imageStampPath = $data;
         }
         if (PccConfig::$child_tag_name == "ValidImageStampTypes") {
             PccConfig::$validImageStampTypes = $data;
         }
         if (PccConfig::$child_tag_name == "EnableDocumentPath") {
             if (trim(strtolower($data)) == 'false') {
                 PccConfig::$enableDocumentPath = false;
             } else {
                 PccConfig::$enableDocumentPath = (bool) trim(strtolower($data));
             }
         }
     }
 }