I have a xml fragment like below
<Detail uid="6">
<![CDATA[
<div class="heading">welcome to my page</div>
<div class="paragraph">this is paraph</div>
]]>
</Detail>
and I want to be able to change the
<div class="heading">...</div> to <h1>Welcome to my page</h1>
<div class="paragraph">...</div> to <p>this is paragraph</p>
do you know how I can do that in xslt 1.0
What about running two transforms.
Pass 1.)
Will produce:
Pass 2.)
Produces: