SCHEDULE
<%@ page language="java" contentType="text/html" %>
<%@ page import="javax.xml.transform.*"%>
<%@ page import="javax.xml.transform.stream.*"%>
<%
/**
* This JSP may use PMA to set param1 in the
* foo.xsl stylesheet before using the
* stylesheet to transform foo.xml
* and outputing the result.
* HTML tags are not in this release, as it is an include and requires none.
* The xincludes folder is at the root of the sports directory.
* To use:
*
* @authors Paul Campbell seapwc@halcyon.com, Khal Shariff khal_shariff@cbc.ca
* @version $Id: transFormer.jsp,v 1.2 2004/06/08 21:10:10 shariffk Exp $
*/
String docPath = application.getRealPath("/");
String furtherPath = "";
docPath = docPath + furtherPath;
String paramValue = request.getParameter("PMA");
String xmlFile = request.getParameter("XML");
String xslFile = request.getParameter("XSL");
xmlFile = docPath + xmlFile;
xslFile = docPath + xslFile;
TransformerFactory tFactory =
TransformerFactory.newInstance();
Transformer transformer =
tFactory.newTransformer(new StreamSource(xslFile));
transformer.setParameter("param1", paramValue);
transformer.transform(
new StreamSource(xmlFile), new StreamResult(out));
%>
ANALYSIS
There’s a lot on the line in Group A, as the winner will
avoid a potential match with defending champions France in the
quarter-finals. This is Portugal’s group for the taking.
Buoyed by the home fans, and with no major injury problems, Portugal
will be looking to get off on the right foot to start the tournament.
If midfield general Luis Figo is on top of his game (unlike two
years ago at the World Cup), Portugal will win the group.
Spain also has the talent to win the group, but they have shown
in the past that they lack the mental game to produce the results
when it counts. The loss of defender Michel Salgado robs the team
of a team leader, and it’ll be interesting to see how Spain
does without their reliable left-back. Still, with Raul in the
lineup, Spain will not be left wanting for goals, and he has plenty
of support from a world-class midfield.
Greece defeated Spain in the qualifiers to top their group and
gain automatic qualification to Portugal. Don’t expect a
repeat, however, as the Greeks simply don’t have the same
depth to deal with the Spaniards or Portuguese. Russia has been
devastated by injuries and has serious problems in defence, which
won’t help them trying to stop strikers the quality of Raul,
Pauleta and Demis Nikolaidis. They’ll finish fourth.
THE BIG MATCH
Spain vs. Portugal – This is the marquee
match in Group A and will likely decide who will finish in first
place in the group (thus avoiding defending champions France in
the next round). These two sides have met 34 times since 1921
with Spain holding a clear advantage over its Iberian neighbours
(16 wins, 12 draws, 6 losses). Spain spanked the Portuguese 3-0
in their last meeting (a friendly on Sept. 6, 2003), and hasn’t
lost to Portugal (one win, five draws) since dropping a 2-0 decision
in a friendly on June 20, 1981.
PREDICTED ORDER OF FINISH:
1) Portugal
2) Spain
3) Greece
4) Russia