The following three files may help to illustrate how you can use XML and XSLT to make webpages.
1. An XML file - a simple address book. Note this contains data but no information about how it should be displayed.
2. An XSLT file - this provides instructions for how to transform an XML file of the particular format we're working with into some displayable HTML.
3. The XML file again - this time a processing instruction has been added to the XML file which tells your browser to transform it using the XSLT file. Try viewing the source if you don't believe it is the same file!