[oXygen-user] Fwd: [xsl] Hints on http POST

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Tue Feb 6 01:41:07 CST 2018


Hi Wendell,

I do not have much experience with EXpath, at some point I tried to make 
it work in order to help somebody and I detailed the installation steps 
here:

https://www.oxygenxml.com/forum/post34427.html

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 2/2/2018 8:33 PM, Wendell Piez wrote:
> Hello oXygenistes,
>
> Over on XSL-List, Martin Honnen kindly pointed me to EXPath as a
> possible answer to my question regarding how to call http POST from
> inside XSLT (see below): he suggests the EXPath http client module.
>
> However, I find this isn't available in Saxon by default.
>
> Any ideas of how I can get this to work in oXygen? (or alternative strategies?)
>
> http://expath.org/modules/http-client/
> http://expath.org/files
>
> Cheers, Wendell
>
> ---------- Forwarded message ----------
> From: Martin Honnen martin.honnen at gmx.de
> <xsl-list-service at lists.mulberrytech.com>
> Date: Fri, Feb 2, 2018 at 1:06 PM
> Subject: Re: [xsl] Hints on http POST
> To: xsl-list at lists.mulberrytech.com
>
>
> On 02.02.2018 18:29, Wendell Piez wapiez at wendellpiez.com wrote:
>
>> I have a need to procure a little bit of XML from a web service
>> running locally. To get it (once) from curl is easy:
>>
>> curl -X POST -d "My string goes in here" localhost:8888/do/me
>>
>> But I need to call it many many times, which I would naturally like to
>> do from inside my transformation.
>>
>> Does anyone have any neat hints of how to do this under unextended (or
>> openly extended) XSLT 3.0?
>
>
> I am not sure how exactly that HTTP POST that curl produces looks like
> but http://expath.org/modules/http-client/ allows HTTP POST requests.
>
> --~----------------------------------------------------------------
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
> EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/174322
> or by email: xsl-list-unsub at lists.mulberrytech.com
> --~--
>
>


More information about the oXygen-user mailing list