Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7883397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:31:17+00:00 2026-06-03T04:31:17+00:00

I am writing a client .NET app and need to generate some reports. I

  • 0

I am writing a client .NET app and need to generate some reports. I would like to use HTML 5, CSS3 and JavaScript to generate reports that display tabular data and graphics by doing this:

  1. Generate a DataSet and save it as XML.
  2. Embed the XML data inside a predefined HTML page.
  3. Load the HTML page in the default browser.
  4. Using jQuery, parse the XML, and generate the necessary HTML elements to show a report.
  5. No Web server, just my client app.

I have read online that I shouldn’t embed XML data inside an HTML page, but this seems to work in the latest versions of all major browsers. My questions are:

  1. Any reason why I shouldn’t do this?
  2. If I shouldn’t do this, then do I have any other option to use the power of the local browser to generate reports?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:31:18+00:00Added an answer on June 3, 2026 at 4:31 am

    There are many things that will work or run in a browser that aren’t necessarily supported. Unlike many server-side languages where a misplaced semicolon may cause your code to not compile, the browser is much more forgiving.

    Thus, as a result, we end up with a world filled with fragmented websites that do not stand a chance against a W3C validator. We are given so much rope that we sometimes hang ourselves with it.

    You recognize, based on your investigations and research, that XML can be embedded in HTML. Part of this success comes from the fact that HTML is a loose subset of XML; however, HTML has its own rules defined by a central committee that determines how browsers should implement their features.

    The biggest risk that I see for you in using this strategy is this: Just because it works in today’s browsers doesn’t mean it will work in tomorrow’s browsers.

    In other words, because embedding XML in HTML may not be in the spec, the browser vendors will not feel the need to continue supporting such a feature, which may have either resulted from a past feature that was removed from the spec, or just a freak accident resulting from HTML and XML’s similar roots.

    I’m not sure why your idea works or if it is or isn’t in the spec, but I do know there are other solutions:

    To answer your question of alternatives, take a look at XSLT, which is used to transform XML documents into valid HTML. This can be used without a Web server, as long as your app can serve both XML and XSLT files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a client-side .NET application which is expected to use a lot
I am writing a .NET 2.0 based desktop client that will send large files
I'm writing a client that talks to a remote server over HTTP. I would
I am writing a VB.NET app that connects to a legacy application using TCP.
I'm writing a JAXWS-RI client that must call a .NET Web Service that is
I need to implement some kind of RBAC for a WPF app that I'm
I have an application in Asp.net MVC where at some point I would like
I'll be writing a small desktop app for a client that has WinXP machines
I'm writing a function for a web app in ASP.NET where the client logs
I'm writing a app that exposes a REST API. Some of the query parameters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.