- From: Hans Deragon <deragon@aqiii.org>
- Date: Fri, 16 Nov 2001 10:51:46 -0500
- To: Peter O Sigurdson/Markham/IBM <sigpete@ca.ibm.com>
- CC: html-tidy@w3.org
Peter O Sigurdson/Markham/IBM wrote: >Hans, why do you feel you need to introduce an addition tag? The reason >I'm asking is that often implementation problems can be removed by walk >further up the tree to the design, or even up to the analysis and >revisiting your final outcome and what assumptions you are making about why >you need to go down a particular implementation path. What value would >these new tags have to what you are trying to do? > >When the only tool you have is a hammer, everything around you looks like a >nail. Start by building better tools! > I want to build a template driven system for processing html files. New tags are placeholders and instructions for how to manipulate the html files. And I want these tags to be in xml format. I then pass the html files through jtidy to make them xml compliant. Then, using DOM functionnality, I can manipulate easily the different html and resolve their dependencies. I then create a new XML structure resulting from the merging of many files, and use this structure to generate the final static page (I might pass this final static page again through jtidy). Its not the most efficient way of doing, but I am not seeking most efficiency CPU or memory wise. I am seeking for the most efficient use of existing code, keeping maintenance easy, etc... Using jtidy, I have no parsing to do! It provides me the DOM document of my HTML pages (hopefully with my tags intact). Then I only have to play with the Nodes, replacing them, deleting them, etc.. to get the final structure. Ciao Hans Deragon
Received on Friday, 16 November 2001 10:52:02 UTC