[Corona] Example of fetching with transform?

Scott Conroy conroys at avalonconsult.com
Tue Dec 13 08:16:31 PST 2011


Can someone offer an example of a Get that applies an XSLT?  Having
uploaded a very simple transform using:

curl --upload-file transform1.xslt "http://user:pw@localhost
:9004/manage/transformer/transform1.xslt"

Trying the below just returns the content *as-is* rather than the
transformed content:

curl "http://user:pw@localhost
:9004/store?uri=/hi/install.pdf-sidecar&applyTransform=transform1.xslt"

Perhaps I need to supply the path to the xslt or something like that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/corona/attachments/20111213/8ac874be/attachment.html 


More information about the Corona mailing list