Add data attribute to XPStreamHandler