This time I'll be showing how you can develop an extendable online poll application for a Web site using the same technologies, but this time with increased use of XSL processing. Most large Web sites have a poll of some kind. It is a way of gathering information from the viewer on subjects relevant to the site. They provide a means of viewing the results By analyzing these rules, we can start to see an XML document structure appear. A poll always consists of a single question and a set of possible answers.
Most sites have an archive of previous polls that can be viewed by the user.
We also need some way of storing the results posted by the voters in the poll. Luckily, we can extend the XML document to cover all of these requirements. We can also store the voting results directly as an attribute of each answer element. All that's left is a way to identify which of the polls in the XML document is the current one. By applying attributes to our XML correctly, we can easily add extra features to our polls XML file.