none
XML Generator - adding envelope RRS feed

  • Question

  • I’m using the XMLGenerator in order to create an XML based on certain XSD.

    I also have  a sample file from the client, that is created based on the same XSD.

    Why is my XML different and how do I create an envelope please ?

    My generated xml is on the left and the sample file received from the client on the right.




    • Edited by btsDeveloper Tuesday, November 14, 2017 11:51 AM
    Tuesday, November 14, 2017 10:58 AM

All replies

  • Hi btsDeveloper,

    Thank you for posting here.

    >>I’m using the XMLGenerator in order to create an XML based on certain XSD.

    As I know, XMLGenerator is sample code from the MSDN article. file. I use the code to generate .xsd file and then you want to create envelope?

    >>Why is my XML different and how do I create an envelope please ?

    When do you want to create an envelope? What is the error you get? Could you provide some code for us to test to reproduce the error?

    >>My generated xml is on the left and the sample file received from the client on the right.

    Whats wrong with the result?

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 16, 2017 6:43 AM
    Moderator