In this post, the user is looking to match nodes that have a certain substring in one of their attributes
I would like to match attributes that contains a certain substring (not the node), but have been unable to come up with the syntax that would do that.
My end goal is to find specific substrings in an attribute, and then replace those substrings with different strings.
I've tried using @[contains(.,"substring")]
, but that didn't work.
I am using XSLT 3.0