am trying to generate an XSLT file with the mapper. I would like to create in the target file an element named "attr" with an attribute "id", the latter containing the name of the source element while "attr" should contain the value of the source element, e.g.

'4711
should be transformed to 4711'

However the mapper produces the following code:

'

'

which is definitely wrong since the tag after the child text node generated by value-of is dismissed.
What can I do?