Hi Pradeep, To my knowledge not, though Xquery should have sufficient expression strength to support mostly all you can do with XSLT. One might be able to write an XSLT interpreter in Xquery.. ;-)
Easiest approach is to write a tiny JSP, hook that under Tomcat or something like that and post xml data to that from MarkLogic Server using xdmp:http-post. The JSP transforms the request body using a predefined XSLT (cached preferably) and sending the data back as response body. I should have a sample JSP lying around here if you have trouble writing one yourself. You could also try using MLJAM, but I am not sure whether sending the XML data back and forth works as easy with that.. Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Pradeep Maddireddy > Sent: maandag 23 februari 2009 19:52 > To: General Mark Logic Developer Discussion > Subject: [MarkLogic Dev General] XSLT transformation > > Hi..! > > > > Can we do XSLT transformation in Marklogic. If so can > anyone give me an example. > > > > > > Thanks in Advance > > > > Pradeep Maddireddy > > > > > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
