Returns the object stored in the request with the name of the indicated attribute.

1 http.request.getAttribute

<http.request.getAttribute name='name'/>

To obtain an attribute of the request, first it must be created. Two name attribute of id and name are created with the values 3 and 'This is my name' respectively. To check the function, it is asked to show the name attribute on the screen.

<xsql-script name='http_connection_getAttr'>
        <http.request.setAttribute name='id'>
        <http.request.setAttribute name='name'>
            This is my name
            <http.request.getAttribute name='name'/>