, SIL extensions default declaration

&. X. Sil.x.dtd-''->-%sil and . Dtd,

&. X. Sil.x.ent-''->-%sil and . Ent,

&. ,

&. Sil,

&. ,

&. Sil,

&. Module,

&. Sil,

&. ,

&. Sil,

&. Document,

&. ,

&. , ATTLIST sil type (%SIL.x.a; workspace | user | query | resultset

&. ,

&. ,

&. ,

&. ,

, <!-validated by the Silfide server admin

&. ,

&. Type,

, >Français</attr><attr name="size">86057</attr></record> <record sid="nancy" idno="FRW3"><attr name="title">Histoire Romaine</ attr><attr name="author">Michelet, Jules</attr><attr name="language">Français</ attr><attr name="size">144022 </attr></record> <record sid="nancy" idno="FRW4"><attr name="title">Récits des temps mérovingiens</attr><attr name="author">Thierry, Augustin</attr><attr name="language">Français</attr><attr name="size">90232</attr></record> <record sid="nancy" idno="FRW5"><attr name="title">Sous les tilleuls</ attr><attr name="author">Karr, Alphonse</attr><attr name="language">Français</ attr><attr name="size">140807</attr></record> <record sid="nancy" idno="FRW6"><attr name="title">Le parfum de la dame en noir</attr><attr name="author">Leroux, Gaston</attr><attr name="language">Français</attr><attr name="size">124157</attr></record> <record sid="nancy" idno="FRW7"><attr name="title">Le Père Goriot</ attr><attr name="author">Balzac, Honoré de .</attr><attr name="language">Français</attr><attr name="size">309234</attr></record> <record sid="nancy" idno="FRW8"><attr name="title">Contes cruels</attr><attr name="author, Léon</attr><attr name="language">Français</ attr><attr name="size">141201</attr></record> <record sid="nancy" idno="FRW2"><attr name="title">Mademoiselle de la Seigliere</attr><attr name="author">Sandeau, Jules</attr><attr name="language

, ElanResultSetImpl rsp = new ElanResultSetImpl(new Meta(

, // sets the total number of documents matching the query rsp.setTotalSize(NB_RESOURCES)

, // add each individual documents references to the result set for

, // add a document (sid+idno) + a list of display attributes rsp.addRecord(sid,getIdno(),null,getNewResource()); (sessionID, Integer(cpt)

, !=null) queries.put(sessionID,eq)

, ElanResultSetImpl rsp = new ElanResultSetImpl(new Meta(

, Hashtable corpora = new Hashtable(

, rsp.addRecord(sid,"allCorpora

, sessions.put(sessionID,new Integer(cpt))

, !=null) queries.put(sessionID,eq)

, * perform a new query with an associated basket

, // instanciation of a reader to read the basket string sequentially StringReader sr = new StringReader

, // creation of an XML Document corresponding to the XML string Document sbd = loader.loadDocument(sr)

, // extraction of the root element from the basket document Element sbe = sbd

, // parsing of the basket element Basket sb = SILBasket.process(sbe)

, // extraction of the basket resources for

, String r_sid = r.getSid(

, // verify if the resource is on this local server { String idno = r

, } Integer icpt = new Integer, issue.0

, sessions.put(sessionID,icpt)

, ElanResultSetImpl rsp = new ElanResultSetImpl(new Meta(

, NB_RESOURCES

, Hashtable htres = new Hashtable(

/. Rsp, addRecord(sid,getIdno(),qh+" "+sessionID+

, htres

, htres.clear(