I need one particular base64 encoded XML element, i.e. <data>
The following call:
return inspect:type(http:send-request(...)//*:data)
returns the following: element()
From: Christian GrĂ¼n <christian.gruen@gmail.com>
Sent: Monday, August 15, 2022 1:39 PM
To: Yitzhak Khabinsky <ykhabins@bellsouth.net>
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] Convert base64 to XML
> It returns back base64 encoded XML.
Is it HTML or XML?
If you need to convert HTML, you can directly pass on binary data to html:parse.
What does inspect:type(http:send-request(...)[2]) return?
Best,
Christian