Page 1 of 1

Xpath

Posted: Wed Sep 12, 2018 2:56 pm
by theimer
Hello,
is there any way using Xpath in Robotask? many problems can be solved using RegExp, but in some cases Xpath would save a lot of work.

Best regards,
Libor

Re: Xpath

Posted: Thu Sep 13, 2018 2:07 pm
by Oleg
RoboTask contain XML documents plugin. It can extract XML nodes by path and mask in the loop

Also maybe some command-line utilities can help you? For example XMLStarlet Command Line toolkit

Re: Xpath

Posted: Thu Sep 13, 2018 5:11 pm
by theimer
xpath can also be used also to parse html pages. I'm not sure if xml document plug-in can be used for parsing html. thank you for the tip on the XMLStarlet Command Line toolkit. I will look at it.

thank you very much
Libor