What XSLT is required to replace the text of a node with the same text enclosed in double quotes:
<users>
<user_info>
<lastname>Jenkins</lastname>
<firstname>Bob</firstname>
</user_info>
<user_info>
<lastname>Smith</lastname>
<firstname>Mike</firstname>
</user_info>
</users>
This is a simplified view, my user_info structure has 22 elements, so I would like the XSLT to simply replace the text of any child element text value with the same text enclosed in double quotes:
<users>
<user_info>
<lastname>"Jenkins"</lastname>
<firstname>"Bob"</firstname>
</user_info>
<user_info>
<lastname>"Smith"</lastname>
<firstname>"Mike"</firstname>
</user_info>
</users>
I can do the logic on a per child-element basis, but that is tedious. I'm confused on how to have the iteration occur at the user_info node-list level. As usual, the answer is probably very simple :) Thanks for the help.