jeudi 3 avril 2014

Add node into XML if another node doesn't exist


Vote count:

0




I am new to XSLT and working on transformation from one XML to another and facing below issue


If Book 1 node exist then I should not see Book 2 node into transformed XML. I tried different phrases but doesn't work.


Input XML



<Catalog>
<Book 1></Book 1>
<Book 2></Book 2>


Expected XML



<Catalog>
<Book 1></Book 1>
</Catalog>


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire