Can I replace the nodes with any arbitrary tuple?
You can do that, but it won’t make any sense to the server and will probably break stuff. In order to put an XML-like tuple into a TSpaces you need to construct a tuple with an XTuple field that contains pointers to any children tuples, as well as its own set of value and attributes. I don’t think you would be able to do that without the JavaDoc from the server source. • I can compile the TestXTuple.java file but whenever I run it I get many errors. What’s wrong? The TestXTuple sample requires that the tspaces.jar and xerces.jar files be in the classpath at runtime. • I would like to use eventRegister() for an XMLQuery object. What should I do? The eventRegister() method only takes a Tuple instance, therefore you have to wrap your XMLQuery object in a tuple. Here is the code taken out of the TestXSuite example. xql = “invoice//product”; Tuple query = new Tuple(new XMLQuery(xql)); int seq = ts.eventRegister(TupleSpace.