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 1059017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:06:37+00:00 2026-05-16T18:06:37+00:00

well i faced i lot of prob converting the html data on page to

  • 0

well i faced i lot of prob converting the html data on page to pdf and to doc making sure images also appear in the converted article but failed

i understand that XML is something like a foundation

so is it?

and how to use it?

i mean any guide of how to generate the xml of the page and then to change its extension to the needed(pdf,doc)?

using vs08,asp.net,c#

  • 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-05-16T18:06:38+00:00Added an answer on May 16, 2026 at 6:06 pm

    The short answer is no.
    If there was such a format, why wouldn’t all applications use it in the first place?

    A note on different formats

    Almost all document applications understands plain text (but image applications, etc. does not). The problem with plain text is that it does not contain any formatting. No pictures, no font size, no margins, nothing except text. Here is also the root cause why there are many different formats, the formatting.

    Take HTML for example. HTML is good for flowing texts on web sites with a continuous block of text which is navigated by a scrollbar. No page breaks, can adapt to different column widths depending on screen size, etc. HTML is also very dynamic, pages can expand sections, replace content and react to user input.

    On the contrary, take PDF. PDF is page oriented, fixed width and height of the pages. It is also targeted at viewing only. Text wrapping is fixed with explicit line breaks. (Copy the text from a PDF to a Word document and insert some text in the middle of a line, and the line breaking will be a real mess). PDF is emulating a printed page with margins and everything.

    Somewhere in the middle is the Word document. Page oriented like PDF, but not as fixed in the shape as a PDF document, to support a nice editing experience. Sections of texts reflow nicely when text is inserted in the middle. It is quite flexible when editing, but the final result is as strict in form as PDF. When printing a Word document the printout will look exactly like it was on the screen.

    XML

    XML is a very general format, you can think of it as a format for formats. XML in itself does not say anything about the content, you need a separate description of how to interpret the XML for a given application. There exists specifications like DocBook that specifies how to describe a document in XML. But that is not an exact description of how the document will look. It separates content from layout. You need to apply a layout/template to generate a visible output format. From a DocBook XML you can generate PDF, HTML, etc.

    There is not given way of converting a given document format to XML, not even a given XML-format like DocBook. XML based formats can be used as a source format to generate different viewable format.

    A note on conversion

    The problem of converting different formats to each other comes from the different purposes and strengths of each format. One format is simple not suitable or even able to describe the properties of another format correctly. There is no general method of converting between formats, because formats like PDF does not reveal the document structure in a reusable way.

    How to publish to different formats

    The key to success when publishing to different formats is to separate content from layout. You need to specify what text you have, how the structure is (headers, sections, etc), what images you have and how they relate to your sections of text. The text and structure description may be in XML, in a database or something else.

    Then you need a tool to generate each output format from a template using some kind of tool.

    Side note on image formats

    Image formats on the other hand are much easier to convert between each other (as long as you convert pixel based formats to pixel based formats and vector based formats to vector based formats) since the end result is exactly the same. The difference between different image formats is mainly the compression algorithm used to compress images. The when uncompressing the images the original image with all of its information is restored (except minor compression artifacts).

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

Sidebar

Related Questions

I have faced this question in my Interview as well. I do have many
A web application I'm helping to develop is faced with a well-known problem: we
I'm faced with needing access for reporting to some data that lives in Oracle
The database of my application need to be filled with a lot of data,
well, i've just faced with localization problem on my projet and decided to make
I'm making a project in flash together with 4 more people, but we've faced
Hi i converting rails views from erb to Haml .The issue i faced is
Well hello, this is the most interesting bug/conflict I've ever faced. In python shell,
I'm faced with a problem which requires a Queue data structure supporting fast k-th
Well, my website can not redirect to https://www.facebook.com/QuaFootSpa from http://quafootspa.com/ I have tried redirection

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.