I have a big XML file the setup my application. There are a lot of comments for each configuration. I want to use a xsl to remove some comment according to the node.
<!-- if you need to use storage -->
<Storage>
<!-- Oracle configuration
<StorageDb database="OracleService"></StorageDb>
-->
<!-- SqlServer configuration
<StorageDb database="SqlService"></StorageDb>
-->
</Storage>
When I run my xsl i want to remove just the comments from Oracle configuration, so my result would be:
<!-- if you need to use storage -->
<Storage>
<StorageDb database="OracleService"></StorageDb>
<!-- SqlServer configuration
<StorageDb database="SqlService"></StorageDb>
-->
</Storage>
Any idea how I would make it?