[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Modify XML using XSL


Subject: [xsl] Modify XML using XSL
From: "Santanu Choudhury" <santanuc@xxxxxxxxxx>
Date: Thu, 13 Apr 2006 11:34:43 +0530

Hi,

I need to modify an existing XML using XSL.What the XSL should do is,

1)Copy the existing xml as it is.
2) Count number of sub nodes under a certain node , if count is less than some value (say 2) append another new subnode to that node for the new XML.
3) Count number of sub nodes under a certain node , if count is greater than some value (say 1) remove the last node from that node for the new XML.


Any help will be highly appreciated.

Regds,
-Santanu.



Current Thread
Keywords