tag in tag empty on .net xml parsing -
I am parse XML on my work until our second IT group comes out of vacation, I changed the XML builder file Can not pars here is the XML file
& lt; Workhours & gt; & Lt; Name & gt; X & lt; / Name & gt; & Lt; Workhours & gt; 11: 00-23: 00 & lt; / Workhours & gt; & Lt; Author & gt; Y & lt; / Author & gt; & Lt; / Workhours & gt; I need to get "workhorse" inside "workhorse", but it's coming out empty. I do not know whether the tags in the tag are false or not, but I have to get that data any ideas now? By the way, the serialization array is not working because my XML file line number can vary for every "workhorse"
Post text "Madprop =" text "> Well, you have not provided any code, so it's hard to know what's wrong ... LINQ will be easy in XML:
< Code> XDocument document = XDocument.Load ("test.xml"); XElement Functionaries = Doctor Element ("workhorse"). Element ("workhorse"); There is nothing inherent with an element of a specific name that has been placed in the second element of the same name.
Comments
Post a Comment