What you will see from images below is that A1 is filled with random number which generated from the script. The number will change randomly every-time cursor is moved, it's used in method for "forcing update the XML data" in Google Sheets.
as we can see from the 1st picture, the IMPORTXML worked like charm, using =IMPORTXML("Link" &A1(which is the random number, that is needed to update the data), "//target content")
recipe
Well, it worked out for the 1st link, but not really for the second one, in the 1st image, B2 is using the last link, and it shows 1736.5
as the value, that is showing fine without using &A1
code
After adding &A1 to the formula, it gives error #N/A
and Resource at url not found
as the error detail.
I already tried to use another cell with calculated numbers(more than A1 or less than), still gives me that error.