Hi, <br><br> I am a newbie to XQuery, and I currently use a PostgreSQL database to store some of the data in my XML files to run the search using XQuery. <br><br> It appears that I have to use some sort of collection() to be able to connect my files to this particular database, and from my past experience with SQL, different databases on various systems have different ways of connecting to it.
<br> <br> My XQuery file would be stored on a system different from the database, so is it necessary that I should put a different connection string inside collection() for the file to call up the database? Otherwise, how is it to know which is the one I want?
<br><br> Thanks to those who can help.<br clear="all"><br> <br>---------------------------------------<br>Alice Wei<br>MIS 2008<br>School of Library and Information Science<br>Indiana University Bloomington<br><a href="mailto:ajwei@indiana.edu" target="_blank">
ajwei@indiana.edu</a><br>812-856-2659<br>