I was able to run a query against a collection
using the CollectionImpl class.
I get each and every element in the result set
tagged with a namespace, like:
...
<elem1 id="k2" xmlns:src=""http://xml.apache.org/xindice/Query">http://xml.apache.org/xindice/Query"> <type xmlns:src="">AKhttp://xml.apache.org/xindice/Query">AK</type> <elem2 xmlns:src=""http://xml.apache.org/xindice/Query">http://xml.apache.org/xindice/Query"> <elem3 id="c" xmlns:src=""http://xml.apache.org/xindice/Query">http://xml.apache.org/xindice/Query"> <elem4 xmlns:src="">Ahttp://xml.apache.org/xindice/Query">A</elem4> </elem3> <elem3 id="b" xmlns:src=""http://xml.apache.org/xindice/Query">http://xml.apache.org/xindice/Query"> <elem4 xmlns:src="">Dhttp://xml.apache.org/xindice/Query">D</elem4> </elem3> </elem2> </elem1> ... I actually made another version of
CollectionImpl.query(), which returns the content from the server without
building a resource set as in:
I then invoke it like:
Any ideas?
Thanks,
jlerm |
- Re: How to get rid of namespace? (Xindice 1.1b2) jcplerm
- Re: How to get rid of namespace? (Xindice 1.1b2) jcplerm
- Re: How to get rid of namespace? (Xindice 1.1b2) Barzilai Spinak
- Re: How to get rid of namespace? (Xindice 1.1b2) Terry Rosenbaum