How to build a website with XML ?

An XML document will have your content eg


John
Duke


Food
3
500.55


Your XSL will select nodes within the XML Document for presentation in the web page. First you will need to import the Style sheet.

xsl:stylesheet
<xsl:apply-template match=“/”/> here you apply all the values from the nodes you select in the XML document.

Now you select each node in the XML document depending on you choice of ho to display.

<xsl:value-of select=“Customer/Name”/>

this will dis play all the customers on your page


NB remember to import the xsl page.