Thanx alot....it worked. i had not figured out that the first string parameter was supposed to be the key. again....thx for the help. and i have noted that abt the right place for such issues. cheers
Natalia Shilenkova wrote: > > Hi, > > Do you set document key in XMLResource (col.createResource(key, > "XMLResource"))? If key is not set, database will generate unique key for > it. Check the code, if it does not work for you, be sure to include > relevant lines of the code in the email. > > By the way, this is the question for user mailing list > (xindice-us...@xml.apache.org), in the future please use it for questions > about Xindice. > > Natalia > > On Nov 17, 2009, at 11:56 AM, kunbee wrote: > >> >> Hi, >> >> I am pretty knew to xindice and am using it to store some generated xml >> files. >> My problem is that when i store my files in a collection the document >> name >> is not the actual name of the file i stored. i.e if i wanted to store a >> file >> named anything.xml........the document name on the server appears like >> '111awwweerr2222r08847' or something as weird as that. >> XMLResource somehow changes that...i am not sure how. >> >> This only happens when i do the stroring programmatically. >> I am using xindice 1.1 with tomcat. >> >> Would be great if someone could help. >> -- >> View this message in context: >> http://old.nabble.com/Document-Name-on-Server-tp26393468p26393468.html >> Sent from the Xindice - Dev mailing list archive at Nabble.com. >> > > > -- View this message in context: http://old.nabble.com/Document-Name-on-Server-tp26393468p26421392.html Sent from the Xindice - Dev mailing list archive at Nabble.com.