Just starting to get heavy into xslt. I'm particularly interested in xslt 2.0 and the use of regular expressions, etc.
I'm trying to figure out how I can return an element from a function. My non-xml data is very unstructured (more than I will show here) but I'm trying to see
if I can transform it into xml by putting an xml tag around it. My example data looks as follow:

<data>
pet:dog*name:ti ger*...