Moving an element in XML file with xslt



I have a a XML file that looks like this,



<XML>
<article article-type="research">
<article-meta>
<abstract>
<p> lorisum......</p>
</abstract>
<abstract abstract-type="summary">
<p>lorisum summary</p>
</abstract>
</article-meta>

<body>
<sec>
<p>
......
</p>
</sec>
<sec sec-type="clinical">
<p> clinical test</p>
</sec>
</body>
</article>
<XML>


The question is how do I move the clinical sec into the untyped abstract with xslt?


No comments:

Post a Comment