The ASP Emporium
Free Active Server Applications and Examples by Bill Gearhart
Online since Friday January 7, 2000

 home > code > classic asp apps > XMLCatalog Object - XML Product Catalog

enter a phrase to search:(advanced search)


 h o m e 

 w h a t 's  n e w 

 a l l   c o d e 
  .net:
    • Fundamentals
    • C# Classes
  classic asp:
    • Code Library
    • ASP Apps
  general:
    • Tutorials
    • SQL

 d o w n l o a d s 

 u s e r   f o r u m s 

 l i n k s 

 s e a r c h 

 s u p p o r t 


XMLCatalog Object - XML Product Catalog

Using nothing more than simple xml xpath search patterns and a little bit of ASP to wire everything together, we can make a simple product catalog out of an xml database representing the product catalog of a company that sells movies.

I wanted to have a list view and a detailed view of each movie so I encapsulated everything into an asp class having 2 methods: CreateCatalog and CreateCatalogItem. The first makes a searchable list and the second creates the detailed view for each product. The entire class was built around this xml file and will be most useful as an example to get you started in developing your own ASP apps that use XML.

category:timeframe:format:


Kids in the Hall: Brain Candy[1996][89 minutes][rated R][Comedy]
[View Detailed Information]
The Kids play over 40 wild and weird characters in their first motion picture.
 
The Dead Zone[1983][104 minutes][rated R][Horror]
[View Detailed Information]
Tense, gripping screen adaptation of Stephen King's best-selling novel, The Dead Zone
 
The Running Man[1987][101 minutes][rated R][Action/Adventure]
[View Detailed Information]
Set in 2019, an ex-cop framed and convicted of mass slaughter becomes a contestant on the most popular game show in which convicted felons race for their lives in decimated L.A. in hopes of a pardon. Adapted from a Stephen King Novel.
 
Taxi Driver[1976][114 minutes][rated R][Horror]
[View Detailed Information]
Portrait of a psychotic New York cabby who is driven to violence in an attempt to rescue a teenage prostitute
 
King Of New York[1990][106 minutes][rated R][Crime]
[View Detailed Information]
Freed from prison, Frank White challenges fellow druglords and police in bloody battles for control of New York City crime syndicates.
 
Killing Zoe[1994][96 minutes][rated R][Crime]
[View Detailed Information]
An American safe cracker is summoned to Paris by a childhood buddy to help pull off a daring daylight robbery of the Federal Reserve Bank on Bastille Day.