File: Data.xml
shop 2
shop 1
File: Transform.xslt
version="1.0">
select="concat(substring-before($outputString,$target),$replacement)" />
select="substring-after($outputString,$target)" />
select="$replacement" />
Output:
shop 2
shop 1