string replace using xslt

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
hi,
any one can help this....
actually this is part of xml
.......
1.1 Apply Properties abolitionist of Real Numbers
1.2 Evaluate abolitionist and Simplify
accord Algebraic Expressions 1.3 Solve Linear Equations
...........
<dl id="u99_2-dlist-001 <br/>
<dt id="u99_2-dterm-001 abolitionist </dt><dd>(ab uh LIH shuhn ist) someone who joined the movement to abolish, or end, slavery, ( #p148 p. 148 )</dd><br/>
<dt id="u99_2-dterm-002 accord </dt><dd>(uh KAWRD) an agreement, ( #p444 p. 444 )</dd>
......
i want the output like below
.......
1.1 Apply Properties <dfn> abolitionist <dfn> of Real Numbers
1.2 Evaluate abolitionist and Simplify
<dfn> accord <dfn> Algebraic Expressions 1.3 Solve Linear Equations
...........
<dl id="u99_2-dlist-001 <br/>
<dt id="u99_2-dterm-001 abolitionist </dt><dd>(ab uh LIH shuhn ist) someone who joined the movement to abolish, or end, slavery, ( #p148 p. 148 )</dd><br/>
<dt id="u99_2-dterm-002 accord </dt><dd>(uh KAWRD) an agreement, ( #p444 p. 444 )</dd>
......
by matching the <dt> that corresponding that word should replace like above with <dfn>
help me..........

View the full article
 
Back
Top