Replies: 2 comments
-
|
You probably need the overload of |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for your reply. From this other discussion I learned that attributes usually don't need namespaces. In the meantime, I updated the documentation accordingly by clarifying how to add attributes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating a DOM tree by creating
XElementandXAttributeobjects first and then adding them to theXDocumentafterwards.How would I do this if
XNamespaces 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