require_once "LJCDocDataLib.php"; $docDataFile = LJCDocDataFile::Deserialize("DocData.xml"); $xmlString = $docDataFile->SerializeToString();