Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Learn Better Ways to Manage Data in ASP

Take advantage of XML and XSLT to display, manage, and cache data.


advertisement
lthough you may not be able to switch to ASP.NET at your location, you can take full advantage of XML and XSLT transforms now to make your site more flexible, more robust, and in some cases, faster. In this article, you'll see how to use XML and XSLT to display, manage, and cache data in your ASP applications.

Suppose you have a list of internal links for your site—the basis of a menu. You want to format the links down the left side of the screen as a list in a table. In other words, the HTML you need—in very plain form—looks something like this:



<html><head></head><body> <!-- begin internal link table --> <table align="left" width="150"> <tr><td>Link 1</td></tr> <tr><td>Link 2</td></tr> <tr><td>Link 3</td></tr> <!-- etc --> </table> <!-- begin main content table --> <table align="right" width="*"> <tr><td>Content here</td></tr> </table> </body> </html>


The HTML above describes two tables that appear next to one another. The one on the left holds the list of links, while the one on the right holds the main site content.


Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap