[oXygen-user] Fwd: [xsl] Hints on http POST
wapiez at wendellpiez.com
Fri Feb 9 16:42:42 CST 2018
Awesome, thanks Radu.
On Tue, Feb 6, 2018 at 2:41 AM, Oxygen XML Editor Support (Radu
Coravu) <support at oxygenxml.com> wrote:
> 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:
> Radu Coravu
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> 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
>> 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
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
More information about the oXygen-user