What is the Best XML API for .NET 3.5?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?=

    What is the Best XML API for .NET 3.5?

    I’m starting a new project which will dynamically generate (user will have to
    pick and choose data, then generate the XML dynamically) RDLC for Reporting.
    My approach was to use LINQ to XML for the API. My question is what is the
    best API to use? Performance is no concern, most critical factor is that the
    code be easy to maintain easy to dynamically generate the mark-up for the
    RDLC.

    Note: We are all ready using LINQ to XML in the main application. This is
    for the reprinting module of the application.

    --
    Alexander L. Wykel
    AW Software Works

  • Martin Honnen

    #2
    Re: What is the Best XML API for .NET 3.5?

    Alexander Wykel wrote:
    I’m starting a new project which will dynamically generate (user will have to
    pick and choose data, then generate the XML dynamically) RDLC for Reporting.
    My approach was to use LINQ to XML for the API. My question is what is the
    best API to use? Performance is no concern, most critical factor is that the
    code be easy to maintain easy to dynamically generate the mark-up for the
    RDLC.
    I am not familiar with RDLC but using LINQ to XML (XDocument,XEle ment)
    should be easier to work with than DOM (XmlDocument,Xm lElement). If you
    want to create new XML document then there is also XmlWriter as an option.

    --

    Martin Honnen --- MVP XML

    Comment

    • =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?=

      #3
      Re: What is the Best XML API for .NET 3.5?

      RDLC is the Report Definition Language Client-side that SQL Server uses it's
      an XML format. I will put a post about dynamic RDLC in at the SQL Group
      reporting group.
      --
      Alexander L. Wykel
      AW Software Works



      "Martin Honnen" wrote:
      Alexander Wykel wrote:
      I’m starting a new project which will dynamically generate (user will have to
      pick and choose data, then generate the XML dynamically) RDLC for Reporting.
      My approach was to use LINQ to XML for the API. My question is what is the
      best API to use? Performance is no concern, most critical factor is that the
      code be easy to maintain easy to dynamically generate the mark-up for the
      RDLC.
      >
      I am not familiar with RDLC but using LINQ to XML (XDocument,XEle ment)
      should be easier to work with than DOM (XmlDocument,Xm lElement). If you
      want to create new XML document then there is also XmlWriter as an option.
      >
      --
      >
      Martin Honnen --- MVP XML

      >

      Comment

      • Wen Yuan Wang [MSFT]

        #4
        Re: What is the Best XML API for .NET 3.5?

        Thanks for Martin's prompt reply.

        Hello Alexander,

        As you see, RDLC is a well formatted XML file. In general, we use
        XmlTextWriter class which provides several methods that are useful for
        creating a report definition file, as the sample showed in SQL SSRS online
        book. Moreover, Linq to XML is also an option, because the code is easier
        to maintain and read. Submitting the issue on SQL Reporting Group could
        also be a good choice. This is becasue the people in those groups will be
        more likely to be able to help and familiar in such field.


        [Tutorial: Generating RDL Using the .NET Framework]

        Anyway, if you have any more concern, please also feel free to let us know.
        We are glad to assist you.

        Hope this helps.
        Best regards,
        Wen Yuan

        Microsoft Online Community Support
        Delighting our customers is our #1 priority. We welcome your comments and
        suggestions about how we can improve the support we provide to you. Please
        feel free to let my manager know what you think of the level of service
        provided. You can send feedback directly to my manager at:
        msdnmg@microsof t.com.
        =============== =============== =============== =====
        This posting is provided "AS IS" with no warranties, and confers no rights.

        Comment

        • =?Utf-8?B?QWxleGFuZGVyIFd5a2Vs?=

          #5
          Re: What is the Best XML API for .NET 3.5?

          With the addition of the new API's it's not always clear shich one shoukd be
          used. I was all for LINq to XML but if there was a better approach I would
          have swayed in that direction. Thank you for your input!
          --
          Alexander L. Wykel
          AW Software Works



          ""Wen Yuan Wang [MSFT]"" wrote:
          Thanks for Martin's prompt reply.
          >
          Hello Alexander,
          >
          As you see, RDLC is a well formatted XML file. In general, we use
          XmlTextWriter class which provides several methods that are useful for
          creating a report definition file, as the sample showed in SQL SSRS online
          book. Moreover, Linq to XML is also an option, because the code is easier
          to maintain and read. Submitting the issue on SQL Reporting Group could
          also be a good choice. This is becasue the people in those groups will be
          more likely to be able to help and familiar in such field.
          >

          [Tutorial: Generating RDL Using the .NET Framework]
          >
          Anyway, if you have any more concern, please also feel free to let us know.
          We are glad to assist you.
          >
          Hope this helps.
          Best regards,
          Wen Yuan
          >
          Microsoft Online Community Support
          Delighting our customers is our #1 priority. We welcome your comments and
          suggestions about how we can improve the support we provide to you. Please
          feel free to let my manager know what you think of the level of service
          provided. You can send feedback directly to my manager at:
          msdnmg@microsof t.com.
          =============== =============== =============== =====
          This posting is provided "AS IS" with no warranties, and confers no rights.
          >
          >

          Comment

          Working...