* <code>Q{uri}name</code>: elements or attributes called <code>name</code> in the <code>uri</code> namespace
The options can also either be specified via the [[Commands#Set|Set]] command or via XQuery. The following operations create an attribute index for all {{Code|id}} and {{Code|name}} attributes: <pre class="brush:xml"> SET ATTRINDEX id,nameCREATE DB factbook http://files.basex.org/xml/factbook.xml'# Restore default:SET ATTRINDEX</pre>
<pre class="brush:xquery">
(: only index id and name attributes :)
db:create('factbook', 'http://files.basex.org/xml/factbook.xml', '', map { 'attrinclude': 'id,name' })
</pre>