Hi Henri,

There are a few ways to go about with this. But the simplest I guess is to
leverage the transform feature of /v1/documents. Just create an XSLT, and
upload/install that as a rest transformation. If you are using Roxy, you
can do that by placing such an XSLT in rest-api/transforms/ and use the
`deploy modules` feature of Roxy to get it installed..

Kind regards,
Geert

On 6/29/15, 12:15 AM, "[email protected]" <[email protected]> wrote:

>Hi everyone!
>
>I have a function <a href="/v1/documents?uri=' +
>encodeURIComponent(data['results'][i].uri) + '" target="_new"> which
>allow me to open a document in a new place.
>I would like to open it in a <div> in the same page but my problem is
>more about the fact that my xml is not linked to an XSL file and, of
>course, I do not know how to do that.
>
>If there is a simple way, I take it. Else, thanks for your advice.
>
>Cheers,
>
>ps: to clarify the context, I try to customize an app from application
>builder and "captured" in roxy.
>
>Henri
>_______________________________________________
>General mailing list
>[email protected]
>Manage your subscription at:
>http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to