Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / May 2008

Tip: Looking for answers? Try searching our database.

What is the Best XML API for .NET 3.5?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander Wykel - 08 May 2008 15:01 GMT
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.

Signature

Alexander L. Wykel
AW Software Works

Martin Honnen - 08 May 2008 15:15 GMT
> 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,XElement)
should be easier to work with than DOM (XmlDocument,XmlElement). If you
want to create new XML document then there is also XmlWriter as an option.

Signature

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/

Alexander Wykel - 08 May 2008 19:10 GMT
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.
Signature

Alexander L. Wykel
AW Software Works

> > 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.  
[quoted text clipped - 6 lines]
> should be easier to work with than DOM (XmlDocument,XmlElement). If you
> want to create new XML document then there is also XmlWriter as an option.
Wen Yuan Wang [MSFT] - 09 May 2008 07:32 GMT
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.

http://msdn.microsoft.com/en-us/library/ms170667.aspx
[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@microsoft.com.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Alexander Wykel - 09 May 2008 17:58 GMT
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!
Signature

Alexander L. Wykel
AW Software Works

> Thanks for Martin's prompt reply.
>
[quoted text clipped - 26 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.