<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div>Dear Gerald</div><div>Sorry for unclear question, I could say yes...I need to do something like that, and I got stuck.</div><div>Bellow is example what I would like to do, they were implemented some WPS in 52North (please see text bellow) </div><div>Describle process</div><div>localhost:8080/wps/WebProcessingService?Request=DescribeProcess&service=WPS&Version=1.0.0&Language=en&Identifier=server.algorithm.EarthquakeQuery</div><div>for more detail :
 https://docs.google.com/document/d/1AOfxDuzWyFQiHiOwXpi-Aeq1IPPDBwQTd0spNmdBktQ/edit?usp=sharing</div><div>............</div><div><ProcessOutputs></div><div><Default></div><div><Format></div><div><MimeType>application/vnd.agard.xml</MimeType></div><div></Format></div><div></Default></div><div><Supported></div><div><Format></div><div><MimeType>application/vnd.agard.xml</MimeType></div><div></Format></div><div></Supported></div><div></ComplexOutput></div><div></Output></div><div></ProcessOutputs></div><div></ProcessDescription></div><div></ns:ProcessDescriptions></div><div>==================     </div><div>Execute Process</div><div>localhost:8080/wps/WebProcessingService?Service=WPS&Version=1.0.0&Request=Execute&Identifier=server.algorithm.EarthquakeQuery&DataInputs=...............</div><div>more detail
 https://docs.google.com/document/d/1b24T81zpjhZcx-H6xhTFyZjTzx7y8RK2EPkrl-7X5NY/edit?pli=1</div><div>============= </div><div>Refer to above DescribeProcess if I try to Execute process I get</div><div>full detail in big file xml of Execute request as  abstract of xml bellow:</div><div>(2) </div><div><episode></div><div><episode-id>EQ1_1389871457374</episode-id></div><div></event-id></div><div><datums alias="Input Parameters" id="IP" source="Input Parameters"></div><div>...</div><div><datums alias="Alert Parameters" id="AP" source="Alert Parameters"></div><div>..</div><div><datums alias="Alert Parameters" id="AP" source="Alert Parameters"></div><div>...</div><div><datums alias="CITY" id="w_city" source="Alert Parameters"></div><div>...</div><div><datums alias="AIRPORT" id="w_airport" source="Alert Parameters"></div><div>..</div><div><datums alias="LOGISTIC" id="w_logistic"
 source="Alert Parameters"></div><div>..</div><div><datums alias="nurclear-cite" id="ras1" source="Alert Parameters"></div><div>...</div><div><datums alias="POP INFO" id="ras0" source="Raster Analysis"></div><div>...</div><div><datums alias="ELEV INFO" id="ras1" source="Raster Analysis"></div><div>....</div><div><datums alias="SLOPE  INFO" id="ras2" source="Raster Analysis"></div><div>......</div><div><br></div><div>as you can see Execute of Process was transformed to .agard.xml</div><div>FROM Original of WPS standard and Execute result (2) they are totally different.</div><div>My question is there is the way to configure transform xml as above example by automatic way OR I have to write specific code in python (eg: If in case I write ZOO service in python).</div><div>If I understand not wrong, I have to write the code in ZOO-Service.py to transform xml, I would like to make sure that it can fine (no bug or error) if I
 transform xml using ZOO-Project. Anyway Gerald if you have already some example or ideas please help </div><div><br></div><div>I hope these example is clear for my question </div><div><br></div><div>Many thanks</div><div><br></div><div><span></span></div><div>Quang   </div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, January 16, 2014 5:22 PM, Fenoy Gerald <gerald.fenoy@geolabs.fr> wrote:<br> </font> </div>  <div class="y_msg_container">Dear Quang,<br clear="none">I’m not sure to understand exactly what you are searching for.<br clear="none"><br clear="none">ZOO-Kernel should be able to handle any kind of
 mimeType « as-is ». In some cases, for instance when you are asking for the ZOO-Kernel to store your result, the name of the stored file won’t have any relation with the mimeType you specified. You can see here how it works : [1] and how mimeType are used to define extension in the filename stored. <br clear="none">To simplify we may add an array or a map in service.h storing couples of (mimeType,extension)  or we may also use extension defined in zcfg file.<br clear="none"><br clear="none">Anyway, first I would like to make I am on the right way for your question about integrating a new mimeType support.<br clear="none"><br clear="none">Best regards,<br clear="none"><br clear="none"><br clear="none">[1] <a shape="rect" href="http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/service_internal.c#L1937" target="_blank">http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/service_internal.c#L1937</a><br clear="none"><div
 class="yqt4441610918" id="yqtfd52103"><br clear="none">Le 16 janv. 2014 à 11:52, truongxuan quang <<a shape="rect" ymailto="mailto:truongxuanquang@yahoo.com" href="mailto:truongxuanquang@yahoo.com">truongxuanquang@yahoo.com</a>> a écrit :<br clear="none"><br clear="none">> If I use xsd or xslt in this case it is fine with ZOO-kernel? <br clear="none">> <br clear="none">> <br clear="none">> On Thursday, January 16, 2014 11:48 AM, truongxuan quang <<a shape="rect" ymailto="mailto:truongxuanquang@yahoo.com" href="mailto:truongxuanquang@yahoo.com">truongxuanquang@yahoo.com</a>> wrote:<br clear="none">> Dear list<br clear="none">> <br clear="none">> <br clear="none">> It is possible if I would like to define my mineType for ComplexOutput in ZOO-Project, If yes how can I config for a new mineType.<br clear="none">> <br clear="none">> Many thanks,<br clear="none">> <br clear="none">> T.Xuan Quang</div><br
 clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Zoo-discuss mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Zoo-discuss@lists.osgeo.org" href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br clear="none">> <a shape="rect" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</a><br clear="none"><br clear="none"><br clear="none"><br clear="none">Gérald Fenoy<br clear="none"><a shape="rect" ymailto="mailto:gerald.fenoy@geolabs.fr" href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a><div class="yqt4441610918" id="yqtfd39814"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>