Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML to HTML 1

Status
Not open for further replies.

dforce13

Programmer
Sep 15, 2008
6
BE
I have a xml file and want to convert it to a HTML file.
Can someone tell me what kind of components I can use for this and where I can find a manual on how to use these components ?
 
well, XML is in fact an evolution of HTML, what are trying to achieve exactly?

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
I want to convert this xml file to a viewable html file.
 
just open the file with IE?

in delphi:

put a TWebbrowser component on a form
and navigate to the xml file

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
If you want to intelligently transform the XML file into HTML (i.e. not just rely on a browser interpreting and rendering the file correctly), it would be worth you looking at XSLT ( in more detail as it can be used for any text-based transformations. It gives you the ability to powerfully filter and style your XML file to give the desired HTML output.

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top