Converting a Document from XML to HTML

 

XML-to-HTML Procedures:

  1. Make an XML document using the DocBook document-type-definition (DTD).
    1. XML:: Where to Begin? - original
    2. XML:: Where to Begin? - HTML

     
    Appearance of the above XML document (the original, without HTML mark-up) depends on your browser:
  2. Make a DSSSL specification that works with James Clarks’s jade. Here’s one that mimics the HTML mark-up used at Lenin Internet Archives (below are three files modified from Norman Walsh's style-sheet):
  3. Process XML document to create HTML using jade:
    jade
          -V nochunks -t sgml
          -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook_whre2beg.dsl
                /usr/lib/sgml/declaration/xml.decl
                wher2beg.xml >wher2beg.html
  4. Output:
  5. Notes: