Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 37,136 times

Contents

Downloads

Related Categories

Using ADO.NET, XML & XSL to generate HTML - The HTML

Bill Burris

The HTML

Here is the resulting HTML:

<html xmlns="http://www.w3.org/TR/REC-html40">
  <body>
    <table border="0" cellpadding="2" cellspacing="0" id="menu">
      <tr>
        <td height="20" nowrap="">
          <a href="index.html">
            <font size="3">Home</font>
          </a>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <center>
            <font size="4" color="#800000">
              <b>Bookstore</b>
            </font>
          </center>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <a href="csharp.html">
            <font size="3">C#</font>
          </a>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <a href="dotnet.html">
            <font size="3">.NET</font>
          </a>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <center>
            <font size="4" color="#800000">
              <b>Notebooks</b>
            </font>
          </center>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <a href="notebooks/csharp/index.html">
            <font size="3">C#</font>
          </a>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <center>
            <font size="3">
              <b>ATL</b>
            </font>
          </center>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <a href="hello.html">
            <font size="3">Hello World</font>
          </a>
        </td>
      </tr>
      <tr>
        <td height="20" nowrap="">
          <a href="errors.html">
            <font size="3">Handling Errors</font>
          </a>
        </td>
      </tr>
    </table>
  </body>
</html>

The ADO.NET and XML support in the .NET framework is a powerful and easy to use combination.  These tools can be used for batch generation of web pages, or used live in ASP.NET.

Comments

  • Performance of XSL

    Posted by Schneeblitz on 11 Dec 2005

    Hi,

    do you have any experiences about the performance of automate generated HTML by XSL & XML

    for example which one is faster:

    1. seperate Asp-Sites
    2. 1 Asp-Site that was generated by 1 XS...

  • how

    Posted by elkamis on 22 Sep 2005

    how would you be able to that in ASP.Net 2.0.....

  • html reports

    Posted by AdelKhaled on 14 Oct 2002

    Generating XML documents and associating them with style sheets is a great way of creating reports.
    The user can view database information, statistics, etc... using plain html text and print them in ...