Rick wise rjb technical consulting www rjbtech com rick wise@rjbtech com
Download
1 / 18

Using XSLT with Custom Web Parts - PowerPoint PPT Presentation


  • 151 Views
  • Updated On :

Rick Wise RJB Technical Consulting www.rjbtech.com [email protected] Using XSLT with Custom Web Parts. Agenda. What is XSLT? XSLT within SharePoint Where is it stored? How it is used? Customizing Web Parts. What is XSLT?. eXtensible Stylesheet Language Transformations

Related searches for Using XSLT with Custom Web Parts

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Using XSLT with Custom Web Parts' - bonner


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Rick wise rjb technical consulting www rjbtech com rick wise@rjbtech com

Rick Wise

RJB Technical Consulting

www.rjbtech.com

[email protected]

Using XSLT with Custom Web Parts


Agenda
Agenda

  • What is XSLT?

  • XSLT within SharePoint

    • Where is it stored?

    • How it is used?

  • Customizing Web Parts


What is xslt
What is XSLT?

  • eXtensibleStylesheet Language Transformations

  • Used to format XML


What is xslt1
What is XSLT?

  • Example - XML


What is xslt2
What is XSLT?

  • Example - XSL



What is xslt4
What is XSLT?

  • Processing

XML

XSL

Processor

HTML


What is xslt5
What is XSLT?

  • Common Tags

    <xsl:stylesheet name=“stylesheetName”>

    <xsl:template match=“/”>

    <xsl:value-of [email protected]>




Helpful code2
Helpful Code

  • Output


Using variables
Using Variables

  • <xsl:variable name = “name”>

    <xsl:value-of select = [email protected]/>

    </variable>

  • Refer to as:

    • <xsl:value-of select=“$name”>

    • {$name}


Where is it stored
Where is it stored?

  • ItemStyle.xsl

    • Style Library/XSL Style Sheets/ItemStyle.xsl

  • Webpart file

    • .webpart


Xslt within sharepoint
XSLT within SharePoint

  • Call Template

    <xsl:call-template name=“template2”>

  • Call a nested template

    • Looping through items

    • Keeps HTML output cleaner


Xslt within sharepoint1
XSLT within SharePoint

  • Mimmick OOB Web parts

  • SharePoint Designer

    • Convert to XSL Data View



Xslt within sharepoint3
XSLT within SharePoint

  • Deployment

    • ItemStyle.xsl

      • XSL Styles Sheets

    • Individual Web Parts

      • Web Part Gallery - Miscellaneous



ad