V
V
Valera Figol2018-09-10 18:40:35
C++ / C#
Valera Figol, 2018-09-10 18:40:35

How to get root xml element?

Good day,
The bottom line is that I have xml, but its root element can sometimes change, and in order to parse xml into the model, I had to create a custom attribute, but now it happened that even with a custom attribute it can’t always get the correct root attribute. Is there some method or property that can immediately give the name of the root element?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question