XSLT and XML together mean little without the link. You must create a line in each file to point out to the parser the relationship between them. This is what makes the XSLT file part of the total XML package. Without a linking statement, each file stands alone. You have already tackled the linking in your XSLT file via the declaration statement. When you write the XSLT statement, you identify the document as a formatting structure. The actual link between the data and the formatting is in the core XML document.
Things You Need:
A basic text editor like Notepad (Windows) or TextEdit (Macintosh).
How to Connect XML Data Files to XSLT Style Sheets
This explains the methodology of creating a link between the XSLT document and the XML file. It covers the relevant steps of the XSLT declaration statement and the linking statement you must incorporate into the XML file.
This is a summary of some of the vital components of the XSLT language. It will allow you to explore the vocabulary you need to know when creating an XML platform. Save this link for future reference. As you work with formatting XML, you may come across words that you don’t understand. This article will provide definitions and keep you on track.
HOMEWORK DAY 11: Practice XSLT with some of your XML files. Work on XPath syntax and creating links between the two files. Start a new XML file and work through the steps of creating the data and then writing the corresponding formatting code.
If you would like help with the homework, or want to discuss the class, you can do so in the HTML / XML Forum.
