String temp = (String)functionResult.operand(1);
if (temp.equalsIgnoreCase("text") || temp.equalsIgnoreCase("content"))
{
if (functionResult.function().operand(0) instanceof PropertyAccessFunction)
{
PropertyAccessFunction nestedFunc = (PropertyAccessFunction)functionResult.function().operand(0);
if (nestedFunc.operands().size() == 1 && nestedFunc.operand(0) instanceof Literal)
{
String propName = (String)((Literal)nestedFunc.operand(0)).value();
final Property property = element.property( propName );
if( property != null && property instanceof Value && ! property.definition().isReadOnly() )
{
return (Value<?>)property;