On Sun, May 5, 2013 at 11:16 PM, Sige <[email protected]> wrote:

> Hi Andrea,
>
> Thank you for your response. It magically worked after restarting tomcat.
>
> BTW. is it possible to transform a feature to multiple output format, like:
>
> <transform>
>     <sourceFormat>text/xml; subtype=gml/2.1.2</sourceFormat>
>     <outputFormat>html</outputFormat>
>     <outputMimeType>text/html</outputMimeType>
>     <fileExtension>html</fileExtension>
>     <xslt>gml2table.xslt</xslt>
>     <featureType>
>         <id>topp:states</id>
>     </featureType>
> </transform>
>
> <transform>
>     <sourceFormat>text/xml; subtype=gml/2.1.2</sourceFormat>
>     <outputFormat>xml</outputFormat>
>     <outputMimeType>text/xml</outputMimeType>
>     <fileExtension>html</fileExtension>
>     <xslt>gml2xml.xslt</xslt>
>     <featureType>
>         <id>topp:states</id>
>     </featureType>
> </transform>
>

Yes, you can do that. Mind, text/xml might be a bit generic, it might end
colliding with another
output format in the future, it that happens the requests will stop working.
Maybe use something looking like:
 text/xml; subtype=giveItANameHere

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to