how to generate xml from xsd
I want to create a new element and insert it to an existing XML element.
Here is my sample XML code:
The existing element:
<User id="123" name="John Doe">
What I want to do is to convert all span tags with a class of "clickable" to links. For example, my span tags are something like this:
<span id="123" class="clickable"> link label </span>...
I have a span tag or object, like this:
<span id="123" class="someClass"> text... </span>
I want to assign a new class name to it, say,
<span id="123" class="newClass">...