XSLT formatting of text wrapped XML tags

I'm trying to replace the LINK tags in the following XML with A tags without removing them from their placement in the text. I'm doing it this way because the links depend on settings in the XSL files.

A Pandaren's claws inflict 1d4 

points of damage (plus their Strength bonus) each. Pandaren can take the
Multiattackand
Improved Natural Attackfeats to improve their

effectiveness with their claws.

I've tried allsorts but all I can get is the text completely unformatted.

#432983

Why can't you format link tags in the xsl files?

-NC

#433063

Um, that's what I'm trying to do... I don't know how it's done though. All the rest of my XSL works, it just doesn't turn LINK tags into A tags on output.

#433076

No use, xsl:value-of returns the trait with the link tags inside it... and I need to change the link tags in place.

#433122

wait do you still want the type and id attributes?

#433194

That just outputs the links, I wan't the link tags to format the links in the text contained inside the trait tag.

i.e. it outputs:

Blah Blah Blah Blah blah

instead of:

Blah Blah Blah Blah blah

Blah

#433221

if you want it like the second one move the out of the div

#433555

Sorry for the confusion but I meant it the other way around...

I want what is shown in the first box, but it's only outputting what is shown in the second box.

#433681