Get value of pCOS path with type name, string, or boolean
$p
$doc
$path
Gets the value of a pCOS path with type name, string, or boolean.