Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3601674
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:39:04+00:00 2026-05-18T20:39:04+00:00

To start things off, let me explain that I’m working with a class that

  • 0

To start things off, let me explain that I’m working with a class that inherits the XElement class. The new class is called MXElement. It adds some new functionality to it for navigating through the XML tree, as well as some more information regarding attributes, but that’s not particularly important. My problem is that I have an XML Tree filled with XElement objects.

However, when I create a new MXElement object from the XElement object before, it is just a copy of that object. This means that any changes that I make to this object will not effect the original tree.

I suppose what I’m asking for is a way to build in the functionality for my MXElement class and keep references to the original XElement objects. If possible, I would really prefer to keep MXElement a child class instead of building a lot of extension methods for XElement.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:39:05+00:00Added an answer on May 18, 2026 at 8:39 pm

    I reworked the entire idea and instead of using a child class, I used XPath to modify the tree.

    For future ideas, I would like to know if there is still a solution to my original problem, but this is the solution I chose for my current problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To start things off, let me explain that I'm working with a class that
Let me start off by saying that I am very new to WPF and
Let me start off by saying that this is my first time working with
Let me start off by saying that I am not an expert in C.
Let me start off by stating that I know the assignment operator in C#
I'm going to start this off by saying that I am new to GLSL
To start off, let me say that i'm ignorant of both Java, JSP and
To start things off, I want to make it clear that I'm not trying
Let me start off by saying, I'm using the twisted.web framework. Twisted.web 's file
Let me start off with some code. When the application loads, it calls the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.