Follow via:
RSS
Email Alert
Question
1 Vote
+ -

How to convert XML to HTML?

I am a perl noob, but have been given the task of converting an XML file to several small HTML pages. Any suggestions, or directions would be appreciated. I have looked at XML::Simple, but haven't figured out a "simple" way to create the pages once the XML is parsed.
Thanks in advance.

Geo.
27th Feb 2012

Answers (3)

Replies

Thanks dbBen, Yes I have checked out several of the converters. So far, with most that I have looked at is the lack of flexibility/customization with the low end ones. And the "free trials" of the higher end apps, are limited until you make the purchase. I am scripting a "converter" with perl and finding it fairly strait forward.
Again, thanks,

geo.
GeoWassung 28th Feb 2012
0 Votes
+ -
What do you mean convert it?
HTML is based on XML, but XML is not HTML. XML is a representation of data, HTML is a mark up language.
If you want XML to display like a webpage, add a CSS file to the XML and style it.
You can also check out XSLT transform.
http://www.w3schools.com/xsl/xsl_transformation.asp
28th Feb 2012

Replies

also, if the xml was created and saved by an msoffice2007 module, like word, it can be re-saved as html by word to complete the transformation.
databaseben 28th Feb 2012
0 Votes
+ -
Try this application for convert XML to HTML.
Hello bro,
try this application to convert XML file format to HTML file.
Links for Software:
http://www.xml-converter.com/
(Official Page for XML Converter)
http://www.mediafire.com/?6maehid8wla1zx4
(Mediafire.com download site)
29th Feb 2012
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.