Building xml header with linq to xml RRS feed

  • Question

  • Is there a way of creating this header with LINQ to XML?  The attributes with colons in fail.

    HotelValuedAvailRQ echoToken="DummyEchoToken" sessionId="DummySessionId" xmlns="http://www.website.com/schemas/2005/06/messages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www. website.com/schemas/2005/06/messages website ValuedAvailRQ.xsd">

    If not, how to store this in a string, what escape characters does one need?
    Friday, July 10, 2009 10:57 AM


All replies