Changes

Jump to navigation Jump to search
534 bytes added ,  05:50, 9 September 2012
'Session ID: ' || session:id()
};
</pre>
|}
 
==session:attribute-names==
{| width='100%'
|-
| width='90' | '''Signatures'''
|{{Func|session:attribute-names|$key as xs:string|xs:string*}}
|-
| '''Summary'''
|Returns the names of all attributes bound to the current session.
|-
| '''Examples'''
|Running the server-side XQuery file {{Code|attributes.xq}} via <code><nowiki>http://localhost:8984/attributes.xq</nowiki></code>:
<pre class="brush:xquery">
import module namespace session = "http://basex.org/modules/session";
session:attributes() ! element attribute { . }
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu