You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm creating a DOM tree by creating
XElement
andXAttribute
objects first and then adding them to theXDocument
afterwards.How would I do this if
XNamespace
s are involved?Here's some simple MRE code, mimicking mine (It's the
CreateTree()
method that's important here. The other code is just added for clarification):The result is:
This is not expected. Excpected would be something like this:
Beta Was this translation helpful? Give feedback.
All reactions