public static String escapeAttributeValue(Object value, Context cx)
    {
        XMLLib xmlLib = currentXMLLib(cx);
        return xmlLib.escapeAttributeValue(value);
    }
public static String escapeAttributeValue ( Object value , Context cx ) { XMLLib xmlLib = currentXMLLib ( cx ) ; return xmlLib . escapeAttributeValue ( value ) ; }
Escapes the reserved characters in a value of an attribute

@param value Unescaped text
@return The escaped text