SlideShare a Scribd company logo
OSP Preconference Workshop:Portfolio Templates Janice Smith, Education Consultant, Three Canoes Sean Keesler, Education Consultant, Three Canoes
Objectives Be able to create a portfolio template using a variety of content sources Understand the role of XSL in Portfolio Templates Be able to capture the raw XML needed to create a portfolio template Be able to set up a development environment for template development Be able to implement a given XHTML design using OSP portfolio templates Be able to iterate through the cells of a matrix in an orderly manner  July 2009 2 10th Sakai Conference - Boston, MA, U.S.A.
Portfolio Template XML and XSL ,[object Object]
Unlike forms, there are NO default renderer (template outline) for a portfolio
Use a “passthrough” xsl as a custom renderer to capture the raw form XML
Use that as your XML input in an XML IDE to create your own templates.,[object Object]
Problem for this Workshop Students complete one or more matrices related to their program. Portfolios are reviewed in two ways: Students present a version of their portfolio in person in front of a small group and need a “Powerpoint-like” version Faculty read a more in depth version of the same portfolio after the small group presentation. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 5
Design for this Workshop S5 Presentation system  Single HTML file with multiple <div>’s Each <div> contains “slide” information and “handout” information. When loaded in a browser, JavaScript files and CSS files present each slide’s “talking points” (without “handout” narrative) with intuitive navigation. Alternative view of the presentation displays the entire presentation (with “handout”  narrative) as a printable page with “handout” narrative.  July 2009 10th Sakai Conference - Boston, MA, U.S.A. 6
S5 Presentation System Explore source code for “s5-blank.html”  July 2009 10th Sakai Conference - Boston, MA, U.S.A. 7
Modifications to make For each matrix the student adds to their portfolio, create a series of slides. For every matrix cell with information in it, display a portfolio slide that contains: The cell name The student’s reflection talking points Links to any attached files in a column on the right side of the slide  Include the longer narrative on a printable version of the presentation. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 8
Anticipated Portfolio Inputs The entire contents of  1 or more Matrices All cells of the matrices: allow students to attach files as well as complete a Reflection form allow faculty to add Feedback and Evaluation forms July 2009 10th Sakai Conference - Boston, MA, U.S.A. 9
Anticipated Form Schema All forms may have the following fields: value – a number picked from a set of radio buttons  0,1,2 or 3 shortText – maximum 1200 characters of rich text (may include HTML entities) description – a long rich text field None of the fields are required to be filled out July 2009 10th Sakai Conference - Boston, MA, U.S.A. 10
In reality Based on custom form renderers we know that: Reflection uses “shortText” and “description” Evaluation uses “value” and “description” Feedback only uses the “description” Note: this has some educational value and simplifies the excercise, but in normal implementation, these forms are likely to have different schema. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 11
Assets Inventory 1 Background Image bodybg.gif 5 CSS files slides.css, outline, print.css, opera.css, pretty.css 1 JavaScript file  slides.js July 2009 10th Sakai Conference - Boston, MA, U.S.A. 12
Building a Template Stylesheet After your XHTML design is done: Step 1: Build “Passthrough” Template and capture example portfolio XML Step 2: Build an XSL stylesheet  that implements the basic design with static content Step 3: Build an XSL stylesheet that replaces static content with student content July 2009 10th Sakai Conference - Boston, MA, U.S.A. 13
Build a “passthrough” template and capture example PORTFOLIO xml Building a Portfolio Template: Step 1 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 14
Step 1: Use Sakai to Identify Inputs Build a template that identifies: all supporting files from design asset inventory (1 background image, 5 CSS files and 1 JavaScript file) all possible student inputs (1 or more matrices) The passthrough XSL stylesheet July 2009 10th Sakai Conference - Boston, MA, U.S.A. 15
Step 1: Create a Sample Portfolio Create a new portfolio using the passthrough template: adding files filling out forms completing matrix cells and wizards as necessary More content is BETTER If you can add more than one one type, do it! View your portfolio and capture its source code in an XML file (passthrough.xml) Format the XML and save the file. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 16
Step 1: Demo and Hands on Watch me! You do it! Identify what happens to the portfolio XML when a new matrix is added to the portfolio Identify happens to the portfolio XML when a new form or file is added to a matrix cell July 2009 10th Sakai Conference - Boston, MA, U.S.A. 17
Step 1: Hands on – Explore the XML You do it! Identify the XPATH expression for the name of this portfolio Identify the XPATH expressions for each supporting files’ URI Identify the parts of the “matrix” XML Identify the relationship between matrix scaffolding and cell information July 2009 10th Sakai Conference - Boston, MA, U.S.A. 18
Questions about: Portfolio Templates Portfolio Design Passthrough XML XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 19
Build an XSL stylesheet  that implements the basic design with static content Building a Portfolio Template: Step 2 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 20
Step 2: Implement the Basic Design Set up a transformation scenario in OxygenXML to transform the passthrough XML with a new XSL stylesheet Replace the passthroughstylesheet with one that implements the basic design (see the “s5-blank.html” file (handouts) for a very basic S5 presentation) Use XSL/XPATH to replace static references to JavaScript, CSS and design image files July 2009 10th Sakai Conference - Boston, MA, U.S.A. 21
Step 2: Identifying file URI’s The <presentationFiles> section of the portfolio XML contains elements for each supporting files named in the template. The name of each “child” element is determined by the template author in Step 4 of the process. The “name” entered for the supporting file is the element name in the XML July 2009 10th Sakai Conference - Boston, MA, U.S.A. 22
Step 2: Demo and Hands-on Watch me! Set up my transformation scenario You do it! Set up your transformation scenario July 2009 10th Sakai Conference - Boston, MA, U.S.A. 23
Step 2: Code Review Discussion of XSL iterations: matrices_S5_v1.1_step1.xsl Declaration of output DOCTYPE & output method matrices_S5_v1.1_step2.xsl Main template outputs the contents of s5-blank.html Note the static references to supporting files July 2009 10th Sakai Conference - Boston, MA, U.S.A. 24
Step 2: Code Review Discussion of XSL iterations: matrices_S5_v1.1_step2a.xsl Replace static references with XPATH/XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 25 becomes:
Step 2: Demo and Hands On Watch me! Transform the passthrough XML file with the new stylesheet in OxygenXML You do it! Transform the passthrough XML with a new stylesheet in OxygenXML Identify the steps needed to change the background image. Attach a new stylesheet that changes the font-family to Times New Roman in the footer. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 26
Step 2: Implement in Sakai Copy the Passthrough template in Sakai Upload your new stylesheet and use it as the Template Outline for your “Step 2” template.  Create a portfolio using your “Step 2” template and verify it resembles “s5-blank.html” July 2009 10th Sakai Conference - Boston, MA, U.S.A. 27
Step 2: Demo and Hands On Watch me do it! Copy the Passthrough template and give it a new name (Step 2 - Design w/ Static Content ) Switch the template outline to use the new XSL stylesheet Create a “Step 2” portfolio using this template and verify its output You do it! Create your own “Step 2” portfolio Add another <div> for “evaluations” in the “handouts” section of the slide design. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 28
Questions about: Supporting Files XML XPATH XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 29
Build an XSL stylesheet that replaces static content with student content Building a Portfolio Template: Step 3 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 30
Step 3: Add Portfolio Name and Description Discussion of stylesheet iterations matrices_S5_v1.1_step3.xsl Replaced footer content with the Portfolio Name and Description Replaced first slide information with Portfolio Name and Description July 2009 10th Sakai Conference - Boston, MA, U.S.A. 31
Step 3: Demo and Hands On Watch me! Transform the passthrough XML with this stylesheet You do it! Transform the passthrough XML with this stylesheet Display a “disclaimer” slide that will be the 2nd slide on every portfolio created with this template. Display the portfolio owner’s name in the footer July 2009 10th Sakai Conference - Boston, MA, U.S.A. 32
Step 3: Iterating through the matrix Discussion of stylesheet iterations matrices_S5_v1.1_step3a.xsl Loop though the matrix scaffolding “criteria” (rows of the matrix) Loop through the matrix scaffolding “levels” (columns of the matrix) Find the matrix cell id that has each combination of “rootCriterion” id and “level” id. Check if the cell is empty (no artifacts)…if not, we will format that cell with another template  July 2009 10th Sakai Conference - Boston, MA, U.S.A. 33
Step 3: Applying templates to Cells Discussion of stylesheet iterations matrices_S5_v1.1_step3a.xsl A “cell” is represented by a “node set” or “tree fragment” of the whole XML document and has with many parts It is useful to create a separate template to handle the display of such complex fragments Reflections and attachments in the cell is also represented by node sets and are also handled with separate templates. Reflections have can be handled with two template “modes” one for displaying the shortText and one for displaying the narrative description (for the handouts).  July 2009 10th Sakai Conference - Boston, MA, U.S.A. 34
Step 3: Demo and Hands On Watch me! Transform the passthrough XML with this stylesheet You do it! Transform the passthrough XML with this stylesheet Add the evaluation “value” and “description” to the end of the handout section of each slide. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 35

More Related Content

Similar to Sakai09 Osp Preconference Afternoon Templates

epicenter2010 Open Xml
epicenter2010   Open Xmlepicenter2010   Open Xml
epicenter2010 Open Xml
Craig Murphy
 
Pem Overview20090130
Pem Overview20090130Pem Overview20090130
Pem Overview20090130
brianlbrinker
 
Bca6011 advanced web design
Bca6011 advanced web designBca6011 advanced web design
Bca6011 advanced web design
smumbahelp
 
SessionTen_CaseStudies
SessionTen_CaseStudiesSessionTen_CaseStudies
SessionTen_CaseStudiesHellen Gakuruh
 
03 sm3 xml_xp_05
03 sm3 xml_xp_0503 sm3 xml_xp_05
03 sm3 xml_xp_05Niit Care
 
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment  # 2PreliminariesImportant Points· Evidence of acad.docxAssignment  # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
jane3dyson92312
 
"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides
Russell Ward
 
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
BookNet Canada
 
Getting Started With Xsl Templates
Getting Started With Xsl TemplatesGetting Started With Xsl Templates
Getting Started With Xsl TemplatesWill Trillich
 
Learning XSLT
Learning XSLTLearning XSLT
Learning XSLT
Overdue Books LLC
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
Aravindharamanan S
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
Elements_Creating_Content_Models.pdf
Elements_Creating_Content_Models.pdfElements_Creating_Content_Models.pdf
Elements_Creating_Content_Models.pdf
Jeff Smith
 
Building a Web Template on The Ball / OIP
Building a Web Template on The Ball / OIPBuilding a Web Template on The Ball / OIP
Building a Web Template on The Ball / OIP
Kallex
 

Similar to Sakai09 Osp Preconference Afternoon Templates (20)

epicenter2010 Open Xml
epicenter2010   Open Xmlepicenter2010   Open Xml
epicenter2010 Open Xml
 
Pem Overview20090130
Pem Overview20090130Pem Overview20090130
Pem Overview20090130
 
treeview
treeviewtreeview
treeview
 
treeview
treeviewtreeview
treeview
 
Bca6011 advanced web design
Bca6011 advanced web designBca6011 advanced web design
Bca6011 advanced web design
 
SessionTen_CaseStudies
SessionTen_CaseStudiesSessionTen_CaseStudies
SessionTen_CaseStudies
 
03 sm3 xml_xp_05
03 sm3 xml_xp_0503 sm3 xml_xp_05
03 sm3 xml_xp_05
 
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment  # 2PreliminariesImportant Points· Evidence of acad.docxAssignment  # 2PreliminariesImportant Points· Evidence of acad.docx
Assignment # 2PreliminariesImportant Points· Evidence of acad.docx
 
"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides"Getting Started with XSLT" presentation slides
"Getting Started with XSLT" presentation slides
 
Mdst 3559-02-01-html
Mdst 3559-02-01-htmlMdst 3559-02-01-html
Mdst 3559-02-01-html
 
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
The Ebook Developer's Toolbox - ebookcraft 2016 - Sanders Kleinfeld
 
Getting Started With Xsl Templates
Getting Started With Xsl TemplatesGetting Started With Xsl Templates
Getting Started With Xsl Templates
 
lecture2_public
lecture2_publiclecture2_public
lecture2_public
 
lecture2_public
lecture2_publiclecture2_public
lecture2_public
 
Learning XSLT
Learning XSLTLearning XSLT
Learning XSLT
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
 
Ad507
Ad507Ad507
Ad507
 
Elements_Creating_Content_Models.pdf
Elements_Creating_Content_Models.pdfElements_Creating_Content_Models.pdf
Elements_Creating_Content_Models.pdf
 
Building a Web Template on The Ball / OIP
Building a Web Template on The Ball / OIPBuilding a Web Template on The Ball / OIP
Building a Web Template on The Ball / OIP
 

Recently uploaded

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

Sakai09 Osp Preconference Afternoon Templates

  • 1. OSP Preconference Workshop:Portfolio Templates Janice Smith, Education Consultant, Three Canoes Sean Keesler, Education Consultant, Three Canoes
  • 2. Objectives Be able to create a portfolio template using a variety of content sources Understand the role of XSL in Portfolio Templates Be able to capture the raw XML needed to create a portfolio template Be able to set up a development environment for template development Be able to implement a given XHTML design using OSP portfolio templates Be able to iterate through the cells of a matrix in an orderly manner July 2009 2 10th Sakai Conference - Boston, MA, U.S.A.
  • 3.
  • 4. Unlike forms, there are NO default renderer (template outline) for a portfolio
  • 5. Use a “passthrough” xsl as a custom renderer to capture the raw form XML
  • 6.
  • 7. Problem for this Workshop Students complete one or more matrices related to their program. Portfolios are reviewed in two ways: Students present a version of their portfolio in person in front of a small group and need a “Powerpoint-like” version Faculty read a more in depth version of the same portfolio after the small group presentation. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 5
  • 8. Design for this Workshop S5 Presentation system Single HTML file with multiple <div>’s Each <div> contains “slide” information and “handout” information. When loaded in a browser, JavaScript files and CSS files present each slide’s “talking points” (without “handout” narrative) with intuitive navigation. Alternative view of the presentation displays the entire presentation (with “handout” narrative) as a printable page with “handout” narrative. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 6
  • 9. S5 Presentation System Explore source code for “s5-blank.html” July 2009 10th Sakai Conference - Boston, MA, U.S.A. 7
  • 10. Modifications to make For each matrix the student adds to their portfolio, create a series of slides. For every matrix cell with information in it, display a portfolio slide that contains: The cell name The student’s reflection talking points Links to any attached files in a column on the right side of the slide Include the longer narrative on a printable version of the presentation. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 8
  • 11. Anticipated Portfolio Inputs The entire contents of 1 or more Matrices All cells of the matrices: allow students to attach files as well as complete a Reflection form allow faculty to add Feedback and Evaluation forms July 2009 10th Sakai Conference - Boston, MA, U.S.A. 9
  • 12. Anticipated Form Schema All forms may have the following fields: value – a number picked from a set of radio buttons 0,1,2 or 3 shortText – maximum 1200 characters of rich text (may include HTML entities) description – a long rich text field None of the fields are required to be filled out July 2009 10th Sakai Conference - Boston, MA, U.S.A. 10
  • 13. In reality Based on custom form renderers we know that: Reflection uses “shortText” and “description” Evaluation uses “value” and “description” Feedback only uses the “description” Note: this has some educational value and simplifies the excercise, but in normal implementation, these forms are likely to have different schema. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 11
  • 14. Assets Inventory 1 Background Image bodybg.gif 5 CSS files slides.css, outline, print.css, opera.css, pretty.css 1 JavaScript file slides.js July 2009 10th Sakai Conference - Boston, MA, U.S.A. 12
  • 15. Building a Template Stylesheet After your XHTML design is done: Step 1: Build “Passthrough” Template and capture example portfolio XML Step 2: Build an XSL stylesheet that implements the basic design with static content Step 3: Build an XSL stylesheet that replaces static content with student content July 2009 10th Sakai Conference - Boston, MA, U.S.A. 13
  • 16. Build a “passthrough” template and capture example PORTFOLIO xml Building a Portfolio Template: Step 1 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 14
  • 17. Step 1: Use Sakai to Identify Inputs Build a template that identifies: all supporting files from design asset inventory (1 background image, 5 CSS files and 1 JavaScript file) all possible student inputs (1 or more matrices) The passthrough XSL stylesheet July 2009 10th Sakai Conference - Boston, MA, U.S.A. 15
  • 18. Step 1: Create a Sample Portfolio Create a new portfolio using the passthrough template: adding files filling out forms completing matrix cells and wizards as necessary More content is BETTER If you can add more than one one type, do it! View your portfolio and capture its source code in an XML file (passthrough.xml) Format the XML and save the file. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 16
  • 19. Step 1: Demo and Hands on Watch me! You do it! Identify what happens to the portfolio XML when a new matrix is added to the portfolio Identify happens to the portfolio XML when a new form or file is added to a matrix cell July 2009 10th Sakai Conference - Boston, MA, U.S.A. 17
  • 20. Step 1: Hands on – Explore the XML You do it! Identify the XPATH expression for the name of this portfolio Identify the XPATH expressions for each supporting files’ URI Identify the parts of the “matrix” XML Identify the relationship between matrix scaffolding and cell information July 2009 10th Sakai Conference - Boston, MA, U.S.A. 18
  • 21. Questions about: Portfolio Templates Portfolio Design Passthrough XML XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 19
  • 22. Build an XSL stylesheet that implements the basic design with static content Building a Portfolio Template: Step 2 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 20
  • 23. Step 2: Implement the Basic Design Set up a transformation scenario in OxygenXML to transform the passthrough XML with a new XSL stylesheet Replace the passthroughstylesheet with one that implements the basic design (see the “s5-blank.html” file (handouts) for a very basic S5 presentation) Use XSL/XPATH to replace static references to JavaScript, CSS and design image files July 2009 10th Sakai Conference - Boston, MA, U.S.A. 21
  • 24. Step 2: Identifying file URI’s The <presentationFiles> section of the portfolio XML contains elements for each supporting files named in the template. The name of each “child” element is determined by the template author in Step 4 of the process. The “name” entered for the supporting file is the element name in the XML July 2009 10th Sakai Conference - Boston, MA, U.S.A. 22
  • 25. Step 2: Demo and Hands-on Watch me! Set up my transformation scenario You do it! Set up your transformation scenario July 2009 10th Sakai Conference - Boston, MA, U.S.A. 23
  • 26. Step 2: Code Review Discussion of XSL iterations: matrices_S5_v1.1_step1.xsl Declaration of output DOCTYPE & output method matrices_S5_v1.1_step2.xsl Main template outputs the contents of s5-blank.html Note the static references to supporting files July 2009 10th Sakai Conference - Boston, MA, U.S.A. 24
  • 27. Step 2: Code Review Discussion of XSL iterations: matrices_S5_v1.1_step2a.xsl Replace static references with XPATH/XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 25 becomes:
  • 28. Step 2: Demo and Hands On Watch me! Transform the passthrough XML file with the new stylesheet in OxygenXML You do it! Transform the passthrough XML with a new stylesheet in OxygenXML Identify the steps needed to change the background image. Attach a new stylesheet that changes the font-family to Times New Roman in the footer. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 26
  • 29. Step 2: Implement in Sakai Copy the Passthrough template in Sakai Upload your new stylesheet and use it as the Template Outline for your “Step 2” template. Create a portfolio using your “Step 2” template and verify it resembles “s5-blank.html” July 2009 10th Sakai Conference - Boston, MA, U.S.A. 27
  • 30. Step 2: Demo and Hands On Watch me do it! Copy the Passthrough template and give it a new name (Step 2 - Design w/ Static Content ) Switch the template outline to use the new XSL stylesheet Create a “Step 2” portfolio using this template and verify its output You do it! Create your own “Step 2” portfolio Add another <div> for “evaluations” in the “handouts” section of the slide design. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 28
  • 31. Questions about: Supporting Files XML XPATH XSL July 2009 10th Sakai Conference - Boston, MA, U.S.A. 29
  • 32. Build an XSL stylesheet that replaces static content with student content Building a Portfolio Template: Step 3 July 2009 10th Sakai Conference - Boston, MA, U.S.A. 30
  • 33. Step 3: Add Portfolio Name and Description Discussion of stylesheet iterations matrices_S5_v1.1_step3.xsl Replaced footer content with the Portfolio Name and Description Replaced first slide information with Portfolio Name and Description July 2009 10th Sakai Conference - Boston, MA, U.S.A. 31
  • 34. Step 3: Demo and Hands On Watch me! Transform the passthrough XML with this stylesheet You do it! Transform the passthrough XML with this stylesheet Display a “disclaimer” slide that will be the 2nd slide on every portfolio created with this template. Display the portfolio owner’s name in the footer July 2009 10th Sakai Conference - Boston, MA, U.S.A. 32
  • 35. Step 3: Iterating through the matrix Discussion of stylesheet iterations matrices_S5_v1.1_step3a.xsl Loop though the matrix scaffolding “criteria” (rows of the matrix) Loop through the matrix scaffolding “levels” (columns of the matrix) Find the matrix cell id that has each combination of “rootCriterion” id and “level” id. Check if the cell is empty (no artifacts)…if not, we will format that cell with another template July 2009 10th Sakai Conference - Boston, MA, U.S.A. 33
  • 36. Step 3: Applying templates to Cells Discussion of stylesheet iterations matrices_S5_v1.1_step3a.xsl A “cell” is represented by a “node set” or “tree fragment” of the whole XML document and has with many parts It is useful to create a separate template to handle the display of such complex fragments Reflections and attachments in the cell is also represented by node sets and are also handled with separate templates. Reflections have can be handled with two template “modes” one for displaying the shortText and one for displaying the narrative description (for the handouts). July 2009 10th Sakai Conference - Boston, MA, U.S.A. 34
  • 37. Step 3: Demo and Hands On Watch me! Transform the passthrough XML with this stylesheet You do it! Transform the passthrough XML with this stylesheet Add the evaluation “value” and “description” to the end of the handout section of each slide. July 2009 10th Sakai Conference - Boston, MA, U.S.A. 35
  • 38. Step 3: Demo and Hands On Watch me do it! Copy the Passthrough template and give it a new name (Step 3 – Student Portfolio) Switch the template outline to use the new XSL stylesheet Create a “Step 3” portfolio using this template and verify its output You do it! Create your own “Step 3” portfolio Add additional forms and files to your matrices and observe the change in your portfolio July 2009 10th Sakai Conference - Boston, MA, U.S.A. 36
  • 39. Questions about: Matrix XML XPATH XSL Portfolio Templates Portfolios July 2009 10th Sakai Conference - Boston, MA, U.S.A. 37