Hi
The error, as often, was between the chair and the keyboard :p
I had skipped a step in the code, now it works : collection.getResource
return a Resource object. I can then use this object's getContent method to
get my data. It works quite well.
I do have another question though : Let's say I have a collection named
Hosts. Inside this collection, I put custom Java objects with the method
above. My question is this : can I use XQuery to search the data from these
objects? And if it is possible, how can I write the actual query?
Let us say my custom object (Host) includes a hostname (String) and the free
space on it (long). I'd like to get, say, the name of the host with the most
free space. The problem is that I don't know the name of the xml tags used
to store the data, since the actual xml was written by the API method. Isn't
there a query that will give me the tags in a collection?
Thank you very much
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion