On Mon, Nov 19, 2012 at 5:41 PM, Rudy Commenge <[email protected]>wrote:
> Hi,
>
> I use XSLT WFS output format module.
>
Wow, already? It's been out only a few days and it's not even part of a
release :-)
> Now, I would like to use Saxon XSLT processor with this module.
>
> How to do it ?
>
Mumble... the code instantiates the processor using Java standard
interfaces, that is:
TransformerFactory tf = TransformerFactory.newInstance( );
So _I believe_ you should be able to use Saxon by:
1) dropping the saxon jars into geoserver/WEB-INF/lib and restarting
GeoServer
2) forcing the usage of Saxon by setting the JVM system variable:
-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
Also have a look at that method javadoc, it describes different ways to
force a specific
implementation:
http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/transform/TransformerFactory.html#newInstance()
Let us know if this works.
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.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
-------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users