I would like to replace commas by dots in the "productsize" node to get this result: "102.6 Small x 122.6 Big (CM)"
Below, my xml example:
Code: Select all
<order>
<items>
<productsize>102,6 Small x 122,6 Big (CM)</productsize>
</items>
</order>
Code: Select all
<order>
<items>
<productsize>102,6 Small x 122,6 Big (CM)</productsize>
</items>
</order>
Code: Select all
translate(//productsize,',','.')
Code: Select all
translate(//url,' ','%20')
Can you give me an example of how to configure the HTTP request application to download a file whose url is stored in a metadata?
Code: Select all
http://10.0.1.10/switch_upload/uploads/[Metadata.Text:Path="//Parameter/@Name",Dataset="uploaded",Model="XML"]
This works fine but if the file has a space in it, I get the error below:jan_suhr wrote: ↑Tue Aug 24, 2021 12:10 pm You use the GET as request type and in the URL you set the variable from the metadata.
Lik this:Where Parameter/@Name is the filename to get in the server URL-path.Code: Select all
http://10.0.1.10/switch_upload/uploads/[Metadata.Text:Path="//Parameter/@Name",Dataset="uploaded",Model="XML"]
Code: Select all
Request completion status: Failed; status code: 400; status description: Bad Request; last error: HTTP protocol error. 400 Bad Request.
Is it possible to target only the tag containing the url?jan_suhr wrote: ↑Tue Aug 24, 2021 12:20 pm Then you have to use this app https://www.enfocus.com/en/appstore/pro ... ng-replace
It will let you create a new variable that has replaced the spaces with %20