extract string from value of attribute
Hi,
You will notice that I am not a programmer, but I am working with some XML files (social research interviews) that I want to display for other researchers to read. Of course, I want to display them in a more firendly way. I wonder if it is possible to do something like this with an XSL stylesheet or XSLT:
I use this kind of elements:
<event desc="laugh" who="all"/>
So, for example, is it possible to output, for every appearance of the <event> element, only the strings that are the value of its attributes?
So, instead of having <event desc="laugh" who="all"/> in the middle of the text, to have only this: LAUGH ALL ?
|