T
tomldn
Hi, sorry if these questions are basic... I'm learning to use xml with
c# and am lacking experience.
1) Obviously XPathNavigator and XMLDocument work together. What
situations would someone use XMLTextReader? Wouldn't you always want
to navigate a document using XPath?
2) When I'm designing XML and I want to add a "value" to an element.
Are there any pros and cons to using attributes vs child elements? Are
there any times it's best to use each?
Cheers for any help, Tom.
c# and am lacking experience.
1) Obviously XPathNavigator and XMLDocument work together. What
situations would someone use XMLTextReader? Wouldn't you always want
to navigate a document using XPath?
2) When I'm designing XML and I want to add a "value" to an element.
Are there any pros and cons to using attributes vs child elements? Are
there any times it's best to use each?
Cheers for any help, Tom.