![]() |
![]() |
|
|
Code SamplesThe samples below are an XML application to convert Microsoft WordML (the native XML format for Word 2003) documents to HTML. The application has three parts: a parser module built on XML::LibXML, a module to encapsulate HTML output, and an index.cgi file that calls the parser and hands the results to the HTML formatting routines. GoalThe goal of the application is to create a system for non-Web savvy users to post and maintain Web pages with tools with which they are more familiar, and to re-use documents without having to maintain two separate versions for print and Web. Separating the three functions allows for code re-use and easier to maintain code. An Apache Rewrite directive is used to invoke the index file with the path name of the XML file to parse. Code Sample LinksView the Application
|
| ||||||||||||||
| [ home ][ portfolio ][ résumé ][ feedback ] | ||||||||||||||||