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