<?xml version="1.0"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:sdx="http://www.culture.gouv.fr/ns/sdx/sdx">
    <sdx:page show="headers session post user">
        <sdx:login id="admin"/>
        <sdx:locations/>
        <xsp:logic>
        String field=sdx_locations.getDefaultField().getCode();
        </xsp:logic>
        <sdx:terms fieldString="field" value="a*" hpp="4"/>
        <sdx:executeComplexQuery qid="test" hpp="2" page="2">
            <sdx:sort field="sdxdocid"/>
            <sdx:simpleQuery query="sdxall:1"/>
            <sdx:fieldQuery value="a*" fieldString="field"/>
        </sdx:executeComplexQuery>
        <sdx:navigation qid="test" no="2"/>
        <xsp:logic>
        String[] args = new String[1];
        args[0] = " TEST ";
        fr.gouv.culture.sdx.exception.SDXException sdx_e=
        new fr.gouv.culture.sdx.exception.SDXException(sdx_log, 0, args, null);
	 			sdx_e.toSAX(contentHandler);
        </xsp:logic>
    </sdx:page>
</xsp:page>
