I'm trying to find a means to bookmark entire sections of XML code in Notepad++ based on part of the block matching a search criteria
For example:
<template ="26264" name="Test 127">
<attribs>
<add name="xInt" value="92"/>
<add name="yInt" value="42">
<conditions>
<value="1"/>
</conditions>
</add>
<dependency type="absolute" valnum="9952452" count="10"/>
</template>
<template ="26265" name="Gamma 19">
<attribs>
<add name="xInt" value="12"/>
<add name="yInt" value="109">
<conditions>
<value="1"/>
</conditions>
</add>
<dependency type="trans" valnum="511650" count="10"/>
<ownership type="inherit" count="2"/>
</template>
<template ="26266" name="Gamma 64">
<attribs>
<add name="xInt" value="105"/>
<add name="yInt" value="9">
<conditions>
<value="1"/>
</conditions>
</add>
<dependency type="absolute" valnum="9952452" count="10"/>
</template>
In the code excerpt above I'm trying to search for any template containing the code "<dependency type="absolute" valnum="9952452" count="10"/>
" - using the Mark feature I can bookmark that one line. However I want to bookmark the entire template that has that line, so basically I want to bookmark the entire template 26264 and 26266 without getting 26265.
The purpose of that is to extract entire templates which have that relevant line in them to use for something else so if another software option can easily accomplish this I'd be happy to hear it.