Beispiel #1
0
 static function getNodeValue($node)
 {
     $value = $node->getNodeValue();
     if ($value === null) {
         return null;
     }
     if (com_wiris_settings_PlatformSettings::$PARSE_XML_ENTITIES && $node->nodeType == Xml::$PCData) {
         return com_wiris_util_xml_WXmlUtils::htmlUnescape($value);
     }
     return $value;
 }