[PyWrapper-users] Question regarding results
Status: Alpha
Brought to you by:
jatorre
From: <jc...@in...> - 2006-06-08 01:36:39
|
Hello, Currently I installed and ran some queries on the pywrapper. I managed to install the pywrapper and did all the configuring to map it to a little test-database I created. My question, for the moment is that when the pywrapper returns me the results, they come in this format: <search> <ViewSpecies> <ViewName>Aspasia principissa</ViewName> <ViewName>Balantiopteryx plicata</ViewName> <ViewName>Caluromys derbianus</ViewName> <ViewKingdom>Plantae</ViewKingdom> <ViewKingdom>Animalia</ViewKingdom> <ViewKingdom>Animalia</ViewKingdom> <ViewHabitat>Bosques muy humedos.</ViewHabitat> <ViewHabitat>Bosques secos, bosques de galeria.</ViewHabitat> <ViewHabitat>Bosques humedos, secos</ViewHabitat> </ViewSpecies> <summary start="0" totalMatched="7" next="5" /> </search> I was reading the Tapir Wiki (the examples) and I saw that the data should not be returned that way, instead it should be returned following the clear separation between related elements, something like this maybe: <search> <ViewSpecies> <ViewName>Aspasia principissa</ViewName> <ViewKingdom>Plantae</ViewKingdom> <ViewHabitat>Bosques muy humedos.</ViewHabitat> </ViewSpecies> <ViewSpecies> <ViewName>Balantiopteryx plicata</ViewName> <ViewKingdom>Animalia</ViewKingdom> <ViewHabitat>Bosques secos, bosques de galeria.</ViewHabitat> </ViewSpecies> <ViewSpecies> <ViewName>Caluromys derbianus</ViewName> <ViewKingdom>Animalia</ViewKingdom> <ViewHabitat>Bosques humedos, secos</ViewHabitat> </ViewSpecies> <summary start="0" totalMatched="7" next="5" /> </search> I've had more experience with the DiGIR requests/responses syntax, and this is why I am asking this question. I would really appreciate if you could clarify to me if this is a pywrapper issue, a protocol issue, or an issue with any configuration I did badly on my side, like for example a bad-defined view. Thanks for the help, Jose Cuadra |