Re: [PyWrapper-devel] Help on MOBY service creation
Status: Alpha
Brought to you by:
jatorre
From: Javier de la T. <ja...@gm...> - 2006-11-19 19:47:59
|
> Hi Milko,. > This is what I want to try. To begin, I have a question on the > BasisOfRecord element of the OccurrenceRecord data type: what does > it mean? I assume you might know about this because the data type > was created by GBIF. Look at the ABCD documentation: http://ww3.bgbm.org/abcddocs/AbcdConcept0400 > I am also starting to struggle with XSLT and... you can imagine... > With simple XML structures it is easy to work, but with the MOBy > stuff it's hard. Actually with BioMOBY is pretty simple because the XSLT you have to produce just hve to take care of getting a value from and element using and Xpath. So we are actually using XSLT mainly only to use Xpath... And be careful when constructing the xpaths! Follow the example in my getCoordinatesOfTaxon. As you know in BioMOBY a service must be prepared to recieved requests using data types that he might dont know. You just have to believe that the user is doing right and you take the data and process it. For this the xpath must be generic enough so that changes on the structure still work with it... if not you will not create compliant biomoby services. I did not know, but using xpath in biomoby services to retrieve "agnostically" the contents of the requests is something normal, I asked in their mailing lists, so if you have troubles you could actually ask in this mailing lists for a suitable xpath for the new service you want to create. Javi. |