c# - Performing set-like operations on XML -


is there mechanism in c#/.net perform set-like operations on complex xml structures in general manner?

for instance, suppose have following xml structure a:

<a:rpr lang="en-us" sz="1500" b="1" i="1">                             <a:effectlst>     <a:glow rad="139700">         <a:schemeclr val="accent4">             <a:satmod val="175000"/>             <a:alpha val="40000"/>         </a:schemeclr>     </a:glow>     <a:innershdw blurrad="63500" dist="50800" dir="18900000">         <a:prstclr val="black">             <a:alpha val="50000"/>         </a:prstclr>     </a:innershdw>     <a:reflection blurrad="6350" sta="60000" enda="900" endpos="58000" dir="5400000" sy="-100000" algn="bl" rotwithshape="0"/> </a:effectlst>     </a:rpr> 

and second xml structure b:

<a:rpr lang="en-us" sz="1500" b="1" i="1">                             <a:effectlst>     <a:innershdw blurrad="63500" dist="50800" dir="18900000">         <a:prstclr val="black">             <a:alpha val="50000"/>         </a:prstclr>     </a:innershdw>     <a:reflection blurrad="6350" sta="60000" enda="900" endpos="58000" dir="5400000" sy="-100000" algn="bl" rotwithshape="0"/> </a:effectlst>     </a:rpr> 

i'd able perform operations such union, intersection or difference. example, expect - b following result:

<a:rpr lang="en-us" sz="1500" b="1" i="1">                             <a:effectlst>             <a:glow rad="139700">         <a:schemeclr val="accent4">             <a:satmod val="175000"/>             <a:alpha val="40000"/>         </a:schemeclr>     </a:glow> </a:effectlst>     </a:rpr> 

is there such mechanism available in .net framework or 3rd party libraries or have implement scratch?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -