i want to maintain case of attribute name without changing to lower case
when i load xml in HTMLAgility pack attribute name changed into lowercase like this
<Author affiliationids="Aff1" correspondingaffiliationid="Aff1">
i want output like this
<Author AffiliationIDS="Aff1" CorrespondingAffiliationID="Aff1">
You can't do this, unless you change the source (the Html Agility Pack is open source, so you're free to go). it's by design, as it was designed to handle HTML, and HTML is case-insensitive.