As quoted from Gul Akbar <[EMAIL PROTECTED]>: > > Hi all, > > I have posted this before and got no replies, so I'm writing again with the > question rephrased! > > How do I query my database collection when I know the ID that was set when I > added the records? > > ID was set when adding the records using the following code: > > String id = "record1"; > XMLResource document = (XMLResource) col.createResource(id, "XMLResource");
XMLResource document = (XMLResource) col.getResource(id); > When I query the database by some other field, the XML that is returned by > Xindice has a namespaces containing the ID. > > Thanks > Gul > > ------------------------------------------------- > This mail sent through IMP: webmail.brad.ac.uk -- -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600