Featured post
xml - Creating a child class of XElement that still keeps a reference to the original XElement and preserves the tree structure -
to start things off, let me explain i'm working class inherits xelement
class. new class called mxelement
. adds new functionality navigating through xml tree, more information regarding attributes, that's not particularly important. problem have xml tree filled xelement
objects.
however, when create new mxelement
object xelement
object before, copy of object. means changes make object not effect original tree.
i suppose i'm asking way build in functionality mxelement
class , keep references original xelement
objects. if possible, prefer keep mxelement
child class instead of building lot of extension methods xelement
.
i reworked entire idea , instead of using child class, used xpath modify tree.
for future ideas, know if there still solution original problem, solution chose current problem.
- Get link
- X
- Other Apps
Comments
Post a Comment