Introduction
If your website has several pages with a similar layout it can become a pain to update using an HTML editor. What is needed is a way to automate the page generation from database tables, XML, & XSL files. By separating content and page layout for you website it is much easier to update repetitive content or easily change the style of every page. Simple content can be maintained in a database. Other content can be maintained in XML files. More complex content can be generated using your favorite HTML editor without worrying about the extras that go on the top, bottom and sides of the page. Using a program or script all the pieces can be put together to build a complete website. A batch process can be used to generate the pages to be uploaded to a server where you don't have access to server side scripting or programming. By keeping your content and style sheets modular you will be more prepare for the day when you can move your site to an ASP.NET server. Modular content will be needed when you start thinking about supporting multiple browser types, such as mobile devices and voice.
The Database
To give an idea about the tools which can be used, lets automate the creation of a side-bar menu. In this example the menu will be saved as a complete HTML file. In a real application the resulting HTML or XHTML would be inserted into the page which is being built from multiple sources. The advantage of using XHTML would be the ability to use all the XML tools in .NET for building your page.
Here is the database table which has the content for the menu.
[##_1C|1387596866.jpg|width="402" height="264" alt="?ъ
- XML Tutorials, References (3)2008/05/01
- Processing XML with Java - Elliotte Rusty Harold (0)2008/03/23
- Using ADO.NET, XML & XSL to generate HTML (0)2007/04/29
- Microsoft.XMLHTTP (0)2007/04/12
- ?ㅽ (0)2007/04/12
- XML? (0)2007/04/12
- WSDL(Web Services Description Language) 1.1 (1)2007/01/10
- 湲곕낯 XML Web Services (0)2007/01/10
- XML? (0)2006/03/15
- XML? (0)2006/03/15



















