|
|||||
XML to HTML conversions: chunking HTML output | |||||
Introduction: XML to HTML conversions: chunking |
Sample
The chunk.xom program produces the following HTML from the mart.xml sample input file.
<title>The XQ39 Space Modulator</title> <h1>The XQ39 Space Modulator</h1> by: Maurice B. Martian <hr><h2>Table of Contents</h2> <ul> <li><a href="chap-1.htm">Chapter 1, Executive Overview</a><li><a href="chap-2.htm">Chapter 2, Setting up the Modulator</a><li><a href="chap-3.htm">Chapter 3, Using the Modulator</a><li><a href="chap-4.htm">Chapter 4, Conclusion</a></ul><hr><h2>Contents by Audience</h2> <ul> <li>Managers: <a href="chap-1.htm">Chapter 1, Executive Overview</a>; <a href="chap-4.htm">Chapter 4, Conclusion</a><li>Engineers: <a href="chap-2.htm">Chapter 2, Setting up the Modulator</a><li>Space Centurions in Funny Hats: <a href="chap-3.htm">Chapter 3, Using the Modulator</a></ul><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><i>The End</i></center>
---- |