Create an XSLT 2.0 stylesheet that uses the easier "2.0" method of doing grouping to reproduce the same output of departments_1.xsl.
**
Notes**
I need this to be delivered no later than **10pm** tonight, July 21st. You must use apply-templates whenever you can
Someone wrote the [login to view URL], so it may not be perfect. Below is the criteria used for creating departments_1.xsl. Remember to label this stylesheet as version="2.0" and process it with Saxon. The source xml file is called courses.xml. All the neccessary files for be attached.
_**Rules for departments_1.xsl.** (completed)_
Create an 1.0 stylesheet ([login to view URL]) that will create an XHTML document that displays basic course information about all the Harvard FAS Courses **that are offered and are "Primarily for Undergraduates"** (offered="Y" and course_level/code="P") grouped by "department". For each course, display the department, course group, course number (integer and character), title, term, and instructors. Your document should have a table of contents of departments that links to an internal anchor. You should use xsl:key to define a key that you will use to help perform this grouping. The departments should be sorted alphabetically by department short_name. You are provided an additional XML document ([login to view URL]) that contains the mapping between the code and short/long names of the departments.
**Summary
**Basically, you are just recreating [login to view URL] using XSLT 2.0 grouping methods
**Bonus
**The stylesheet takes 41+ sec to process, it would be nice if it could be more efficient.
It would be nice to group instructors of the same term on the same line ex
Instructors
Term 1 - Some Name
Term 1 - Some Name
Term 2 - Some Name to
Instructors
Term 1 - Some Name, Some Name
Term 2 - Some Name
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Independent