Getting Started with XSL templates

Getting started with XSL templates:

See reference page at http://www.serensoft.net/sakai10/

  • Tinker with the PERSON.XML and PERSON-TEMPLATE.XSL (linked above) to see the types of things XSL can do
  • Create a template based on PASSTHROUGH.XSL (linked above)
    • Get your stakeholders to decide what you'll require from your portfolio users (matrix? forms?)
    • Get your stakeholders to decide on a resulting layout (oswd.org is a great resource for designs)
    • Create a nascent TEMPLATE inside OSP based on PASSTHROUGH.XSL (linked above):
      • Step 1 -- give the template a name
      • Step 2 -- use PASSTHROUGH.XSL as your XSL stylesheet (you'll replace this later with the XSL you create!)
      • Step 3 -- specify what ingredients your users can add (matrix, image, certain form, etc)
      • Step 4 -- attach other files (branding css, school/department logo, etc)
    • Now build a portfolio based on that template
    • View it in your browser -- it's just XML so it'll look poopy -- and download the source
    • Add to your XML, pointing to the XSL you're going to develop
    • As you tweak your XSL just refresh your browser's view of the XML
    • Once your XSL doesn't suck, upload it and change STEP 2 above to point to your XSL!

Slideshare: http://www.slideshare.net/trillich/intro-to-xsl-templates