XHTML and XSLT

  1. divide-doc.xsl demos how to split a single XHTML file into many files.

    You need the divide-doc.xsl style sheet.

    Then, use a XSLT processor like saxon like this:
    saxon -o test.html test-page.html divide-doc.xsl

    To debug under Unix:
    saxon -T -o test.html test-page.html divide-doc.xsl > & t.t

    WARNING: This will not work for mixed contents (need to fix this sometimes) ! Source: http://www.w3.org/2003/09/divide-doc.xsl (but was totally outdated, had to fix it a bit)

      Name                         Last modified       Size  Description

[DIR] Parent Directory 31-Oct-2010 18:04 - [TXT] divide-doc.DEAD_ORIGINAL.xsl 04-Dec-2005 16:37 10k [TXT] divide-doc.xsl 04-Dec-2005 17:00 9k [DIR] tests/ 04-Dec-2005 17:11 -