Am 21.01.2002 10:45 Uhr schrieb "98030001" unter <[EMAIL PROTECTED]>:
> Hello > > I am creating a web application, for which users have to register on the > site. The registration data(login name,first name,last name, password, etc.) > are to be saved in xml format. Should I make one collection and save each > user data as a separate document in that collection or should I keep a > single document and append the user's data in that one document. I will be > quering the whole user data on different fields like logon name and password > to give user access to login the site. What should be the best design > approach in this case? > > Arshad > Arshad, in general, Xindice has been designed for large quantities of small XML documents. Updating one large document with many user data seems more difficult than inserting single documents. For Xpath queries it doesn't matter whether you have one big or many small documents because you query against a whole collection. Thus, you will get the results from all documents being stored in this collection. For further information about Xpath queries, see http://www.dbxml.org/docs/DevelopersGuide.html#N1A7 Carsten -- Carsten Ziegert Fachhochschule Hannover FB Informations- und Kommunikationswesen Ricklinger Stadtweg 120 30459 Hannover ++49-511-9296-768 http://summit-bmt.fh-hannover.de
