xsl-list
[Top] [All Lists]

[xsl] Modify XML using XSL

2006-04-12 23:06:07
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--