Hi Xalan Users,

I found Website an excellent dtd for making... website! ;) I'd like to
use xalan-j to parse it to html but I got some problems. 

1-  I am using  Website2.1b1 and  Xalan2 (and  ant 1.4.1).  And cannot
    parse the autolayout.xml file with chunk-tabular.xsl

2- Norman Walsh propose a simple Makefile 
<http://docbook.sourceforge.net/release/website/example/buildmake.html>
   but I prefer working with ant, so I did try to make a buildfile. But
   it fails. 

[This question  is maybe more related to  the ant list, if  you do not
know or do not have the time, you can directly go after the --- end of
build.xml --- Thanks]

--- build.xml ---
  [cut]

  <target name="init.doc">
        <style basedir="."
          destdir="${dist}"
          processor="${processor}"
          style="${stylesheet.autolayout}"
          in="${layout}"
          out="${autolayout}"
          >
        </style>
        <!-- Cr�ation du fichier des d�pendances -->
        <style basedir="${src.xdoc}"
          destdir="${dist}"
          processor="${processor}"
          style="${stylesheet.deps}"
          in="${autolayout}"
          out="${depends}"
          >
        </style>
        
  </target>

  <target name="htmldoc" depends="init.doc">

        <style basedir="${src.xdoc}"
          destdir="${dist}"
          processor="${processor}"
          style="${stylesheet.website}"
          in="${src.xdoc}/website.xml"
          out="${src.xdoc}/index.html">
        </style>
  </target>

  [cut]
--- end of build.xml ---

Does anyone use the Norman Walsh's Website DTD? 

If (true) {
   Can you show me the command line you use? 
   
   Did you make a buildfile? 

   if (true) {
          Can I get a copy? 
   }
} else {
   Do you know other DTD's for making websites?
}

Thank you for your help.

If you have some links to other resources, do not hesitate ;)

(Note that I did successfully run the example in Cocoon2!)

-- Arnaud http://vbstefi60.fapse.ulg.ac.be/

Reply via email to