I do not know of any libraries that would support this exact workflow directly, but this is probably because at least on the surface it seems trivial. Assuming you are talking about top-level nodes <path/>, then this should be done with any library that can work with XML - just work with raw XML directly and ignore the fact that this particular document is SVG. If you have:
<svg ...>
<path title="a" d="M 100 100 L 300 100 L 200 300 z" stroke-width="3" />
<path title="b" d="M 200 100 L 300 100 L 200 300 z" stroke-width="3" />
<path title="c" d="M 300 100 L 300 100 L 200 300 z" stroke-width="3" />
</svg>
And you want:
[a.svg]
<svg ...>
<path d="M 100 100 L 300 100 L 200 300 z" stroke="blue" stroke-width="3" />
</svg>
[b.svg]
<svg ...>
<path d="M 200 100 L 300 100 L 200 300 z" stroke="blue" stroke-width="3" />
</svg>
// "", title , ( - , ) . XML API DOM ( XSLT/XPATH ..).