public String getAttributeExpandedValue(String name, String aname)
    {
        Object attribute[] = getAttribute(name, aname);
        if (attribute == null) {
            return null;
        } else if (attribute[4] == null && attribute[1] != null) {
            try {
                pushString(null, (char) 0 + (String) attribute[1] + (char) 0);
                attribute[4] = readLiteral(LIT_NORMALIZE | LIT_CHAR_REF
                        | LIT_ENTITY_REF);
            } catch (Exception e) {
            }
        }
        return (String) attribute[4];
    }