How to add xml header? RRS feed

  • Question

  • Hi,

    I'm building an API service using WCF, in this API i return an XML 'tree' and his general structure looks like that:
          <item />
          <item />
          <Category />
          <Category />
    This xml tree is generated by Serializing Classes and Lists of Classes.
    My question is how can i add to this XML tree resault the header declaration of XML - <?xml version="1.0" encoding="utf-8" ?>
    Monday, June 15, 2009 7:34 AM

All replies