I really need your help on this one. We have a monitoring tool, that monitors (what else :) ) SQL/Diskspace/Servers/WindowsServices/.... We keep the objects that need to be monitored inside a range of XML-files (not my choice)
Right now they look like this
<Root>
<item></item>
<item></item>
</Root>
Example (for sql Queries)
<SqlQ>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
</SqlQ>
Right now, for some unknown reason he wants to re-oder only the SQL-Queries. He wants them in collapsible blocks for each database. like this:
<SqlQ>
<dbA>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
</dbA>
<dbB>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
<sql Connectionstring= "XXX" ExpectedResults="XXX" Query="XXX" ...></sql>
</dbB>
</SqlQ>
so he may collapse them:
<SqlQ>
<dbA>...</dbA>
<dbB>...</dbB>
</SqlQ>
Is there any to implement/emulate this behavior (similar to #regions (.net) in xml) without altering the the actual structure of the xml (viewed from the monitoring tool). Adjustments to the actual code (of monitoring-tool) would results in a massive overhead (as we use generic functions to read these xml-files.
Something along the lines of this but then collapsible.
Note: We're using Notepad++ for modifications. And yes i know of the existance of Alt+1