|
Source to XHTML
XML Menu Suite
Build powerful, client-side DHTML menus using XML for data and CSS for style. No JavaScript data! No having to place list elements on every single page of your website! No plug-ins!
Source to XHTML is an online tool for webmasters that accepts any type of source code as input and generates XHTML output for displaying the source code on a web page. Source to XHTML preserves the original formatting of the source code, but allows text wrapping. More information is below. Mission
We created Source to XHTML to provide an alternative to using preformatted text blocks, which can wreak havoc on a web browser's ability to print and scroll text properly. The code below was formatted using Source to XHTML. Note that we altered the font color for emphasis. The code below is the same text output by the Source to XHTML sample, which you can load into Source to XHTML by pressing its "Load Sample" button. <script type="text/javascript">if( true && true ) { document.write("<p>It's definitely true</p>"); } </script> Browser Compatibility The source code generated by Source to XHTML is compatible with
all major browsers, including the browsers listed below. The Source
to XHTML tool itself is compatible with the browsers listed below:
Improvements 10/22/2002: Added options to convert quote and greater-than characters to their corresponding entity constants. 01/09/2002: Unnecessary line terminators and white spaces are stripped off at the end of the input string. |