Remove the indicated attribute.
1 http.request.removeAttribute
<http.request.removeAttribute name='name'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aname | string |
Returns | |
---|---|
Type | Description |
object | Remove the attribute with the same name as the indicated attribute. |
Example
Copy
<xsql-script name='http_connection_remove'> <body> <http.request.setAttribute name='id'> 3 </http.request.setAttribute> <http.request.setAttribute name='name'> This is my name </http.request.setAttribute> <http.request.removeAttribute name='id'/> <println> <http.request.getAttributeNames/> </println> </body> </xsql-script>