SlideShare a Scribd company logo
Overview of XSLT, XPATH, and XSL-FO(Beginner Level) Adena FrazerSuite Solutions
Overview of XSLMain TopicsWhat is XSL?
XPATH
XSL-FO
XSLT
XSL ResourcesWhat is XSL?XSL – Extensible Stylesheet Language
“A family of transformation languages which allows one to describe how files encoded in the XML standard are to be formatted or transformed”  (Wikipedia).
Written in valid XML (Extensible Markup Language), which requires matching starting and ending tags around content.  	<xml>Sample</xml>Includes:XPATH -XML Path Language (not XML)XSL-FO - XSL Formatting Objects XSLT - XSL Transformations
Overview of XSLMain TopicsWhat is XSL?
XPATH
XSL-FO
XSLT
XSL ResourcesXPATHLanguage used to select information from an XML document Based on relationships between nodes (which include elements and attributes)Parents, Children, Siblings, Ancestors, DescendantsCan contain expressions, which calculate and compare values using operators.Operator Reference:http://www.w3schools.com/xpath/xpath_operators.aspCan contain built-in functionsFunction Reference: http://www.w3schools.com/xpath/xpath_functions.aspNodes can be referenced using full syntax or abbreviated syntax.
XPATH Syntax (Full)Axis – defines a nodeset relative to a current nodeFor more details and examples, see: 		http://www.w3schools.com/xpath/xpath_axes.aspXPATH Syntax (Abbreviated)
XPATH Examples (1)XPATH is used by XSLT to retrieve information from an XML documentVariable valuesTest conditionsTemplate matchesExample (from commons.xsl line 160):From a node that is the current node’s ancestorThis expression will be true if the condition inside of the parentheses is false [if no nodes match this description]Get any nodeWhose class attribute contains the text          ‘ topic/topic ‘
XPATH Examples (2)Example (from code that checks if an item is last in a list):Evaluate to true if the preceding node count is zero; otherwise evaluate to falseGet any nodeCount how many nodes meet this criteria:From a node which is a sibling to the current node and comes after the current nodeExample (from commons.xsl line 67):From the first node the meets the preceding criteriaFrom a node that is the current node or the current node’s ancestorGet any nodeWhose class attribute contains the text                  ‘ topic/topic ‘Get the value of the id attribute
Overview of XSLMain TopicsWhat is XSL?
XPATH
XSL-FO
XSLT
XSL ResourcesXSL-FO OverviewA unified presentation language which stores both the content of the document and the document’s formatting information.Intended for documents with pages, as opposed to other languages such as HTMLGenerally used as the stage before PDF formatThe document is converted to PDF using a Formatting Object ProcessorThe FO Plug-in uses a .fo extension for XSL-FO FilesRequired components of an FO document:
XSL-FO:Document ComponentsRequired components of an FO document:XML DeclarationXSL-FO is a type of XMLRoot Node
Contains the whole document, including the Page Layout and Document Data sections
Declares the XSL-FO NamespaceXSL-FO:Document ComponentsPage LayoutDefines the properties of a page, including the size, margins and direction of the text flowThere can be many simple-page-masters - one for each type of page
XSL-FO:Document ComponentsDocument DataReferences a master-reference which is defined in the Page Layout sectionUses flows to define which part of the page should be usedLegal values: xsl-region-body, xsl-region-before, xsl-region-after, xsl-region-start, xsl-region-endContains the content of the page which is formatted using blocks and inline objects.
Margin TopRegion BeforeRegion BodyRegion StartRegion EndMargin RightMargin LeftRegion AfterMargin BottomXSL-FO Page LayoutPage Layout Diagram for a Left to Right and Top to Bottom Text Flow (defined by writing mode attribute)
Diagram is different for different text flows XSL-FO ElementsXSL-FO has many elements which are used to format the document.  All elements should be preceded by the fo: prefix.These elements include:Table elements: table, table-body, table-cell table-row, table-and-caption, table-caption, table-footer, table-header, table-columnList elements – list-block, list-item, list-item-body, list-item-labelBlock elements: block, block-containerInline elements: inline, inline-containerPage-Number: represents the current page-numberLeader: repeats the specified characterFormatting Objects Reference: http://www.w3schools.com/xslfo/xslfo_reference.asp
XSL-FO AttributesEach element in XSL-FO has a corresponding set of attributesThese include:Widow and orphans: keep-with-next, keep-with-previous, keep-together, widows, orphansColors: background-color, colorFont size and style: font-family, font-weight, font-style, font-sizeBorders: border-after-color, border-after-style, border-after-width…Spacing: padding-after, padding-left, padding-right, margin-left, margin-right, margin-bottom, margin-top
Overview of XSLMain TopicsWhat is XSL?

More Related Content

What's hot (20)

PPTX
Xml
Neeta Sawant
 
PPT
Javascript
Manav Prasad
 
PPT
Introduction to ADO.NET
rchakra
 
PPTX
Html images syntax
JayjZens
 
PPT
Vbscript
VARSHAKUMARI49
 
PPT
Css lecture notes
Santhiya Grace
 
PPTX
HTML Forms
Ravinder Kamboj
 
PPT
XML Schema
yht4ever
 
PPTX
Xml dtd
sana mateen
 
PPT
Using single row functions to customize output
Syed Zaid Irshad
 
PPT
Introduction to XML
yht4ever
 
PPTX
XML-Extensible Markup Language
Ann Joseph
 
PPT
3 xml namespaces and xml schema
gauravashq
 
PPTX
Bootstrap ppt
Nidhi mishra
 
PPT
03 namespace
Baskarkncet
 
PDF
Introduction to Bootstrap
Ron Reiter
 
PDF
CSS Day: CSS Grid Layout
Rachel Andrew
 
Javascript
Manav Prasad
 
Introduction to ADO.NET
rchakra
 
Html images syntax
JayjZens
 
Vbscript
VARSHAKUMARI49
 
Css lecture notes
Santhiya Grace
 
HTML Forms
Ravinder Kamboj
 
XML Schema
yht4ever
 
Xml dtd
sana mateen
 
Using single row functions to customize output
Syed Zaid Irshad
 
Introduction to XML
yht4ever
 
XML-Extensible Markup Language
Ann Joseph
 
3 xml namespaces and xml schema
gauravashq
 
Bootstrap ppt
Nidhi mishra
 
03 namespace
Baskarkncet
 
Introduction to Bootstrap
Ron Reiter
 
CSS Day: CSS Grid Layout
Rachel Andrew
 

Viewers also liked (20)

PPTX
Overview of the DITA Open Toolkit
Suite Solutions
 
PPT
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
PPT
CustomizingStyleSheetsForHTMLOutputs
Suite Solutions
 
PPT
StrategiesForUsingMetadata
Suite Solutions
 
PPT
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
PPTX
Dita ot pipeline webinar
Suite Solutions
 
PDF
MuleSoft DataWeave data transformation language
fganora
 
PPT
XMLT
Kunal Gaind
 
PPT
XML and XPath details
DSK Chakravarthy
 
DOC
mgmnt dev. and org. development
umesh yadav
 
PPT
4 xslt
gauravashq
 
PPTX
Html ,css,xml
Shweta Wankhade
 
PPTX
HTML, CSS and XML
Aashish Jain
 
PPT
Understanding XML DOM
Om Vikram Thapa
 
PPT
Xpath presentation
Alfonso Gabriel López Ceballos
 
PPT
Xpath
Manav Prasad
 
PPTX
XSLT
Surinder Kaur
 
PPT
XPath - XML Path Language
yht4ever
 
Overview of the DITA Open Toolkit
Suite Solutions
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
CustomizingStyleSheetsForHTMLOutputs
Suite Solutions
 
StrategiesForUsingMetadata
Suite Solutions
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
Dita ot pipeline webinar
Suite Solutions
 
MuleSoft DataWeave data transformation language
fganora
 
XML and XPath details
DSK Chakravarthy
 
mgmnt dev. and org. development
umesh yadav
 
4 xslt
gauravashq
 
Html ,css,xml
Shweta Wankhade
 
HTML, CSS and XML
Aashish Jain
 
Understanding XML DOM
Om Vikram Thapa
 
XPath - XML Path Language
yht4ever
 
Ad

Similar to Overview of XSL, XPath and XSL-FO (20)

PPT
XML/XSLT
thinkahead.net
 
PPT
Learning XSLT
Overdue Books LLC
 
PPTX
XSLT - Extensible StyleSheet Language Transformations.pptx
abhishekoza1981
 
PDF
Extensible Stylesheet Language
Jussi Pohjolainen
 
PPT
Session 4
Lại Đức Chung
 
DOC
Xslt
prathap kumar
 
DOC
Xslt
xavier john
 
PPT
Xslt
Manav Prasad
 
PPTX
transforming xml using xsl and xslt
Hemant Suthar
 
PPTX
XSLT
Kamal Acharya
 
PDF
Notes from the Library Juice Academy courses on XPath, XSLT, and XQuery: Univ...
Allison Jai O'Dell
 
PPTX
Xml data transformation
Raghu nath
 
PPT
Xslt by asfak mahamud
Asfak Mahamud
 
PPTX
XML XSLT
Vijay Kumar Verma
 
PDF
XSLT 3 for EPUB and Print - Liam R.E. Quin (Barefoot Computing) - ebookcraft ...
BookNet Canada
 
PPT
5 xsl (formatting xml documents)
gauravashq
 
PPTX
CTDA Workshop on XSL
University of Connecticut Libraries
 
PPTX
Xslt elements
Sindhu VL
 
PPT
Extensible Stylesheet Language
Jussi Pohjolainen
 
PDF
Xsl xslt
Dr.Saranya K.G
 
XML/XSLT
thinkahead.net
 
Learning XSLT
Overdue Books LLC
 
XSLT - Extensible StyleSheet Language Transformations.pptx
abhishekoza1981
 
Extensible Stylesheet Language
Jussi Pohjolainen
 
transforming xml using xsl and xslt
Hemant Suthar
 
Notes from the Library Juice Academy courses on XPath, XSLT, and XQuery: Univ...
Allison Jai O'Dell
 
Xml data transformation
Raghu nath
 
Xslt by asfak mahamud
Asfak Mahamud
 
XSLT 3 for EPUB and Print - Liam R.E. Quin (Barefoot Computing) - ebookcraft ...
BookNet Canada
 
5 xsl (formatting xml documents)
gauravashq
 
Xslt elements
Sindhu VL
 
Extensible Stylesheet Language
Jussi Pohjolainen
 
Xsl xslt
Dr.Saranya K.G
 
Ad

More from Suite Solutions (20)

PPTX
SuiteHelp 4.0: Latest Features in Enterprise Webhelp
Suite Solutions
 
PPTX
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
Suite Solutions
 
PPTX
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
Suite Solutions
 
PPTX
SuiteHelp 3.2.5 Latest Features
Suite Solutions
 
PPTX
Using Taxonomy for Customer-centric Dynamic Publishing
Suite Solutions
 
PPTX
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
Suite Solutions
 
PPTX
DITA Quick Start Webinar Series: Building a Project Plan
Suite Solutions
 
PPTX
DITA Quick Start Webinar Series: Building a Project Plan
Suite Solutions
 
PPTX
DITA Quick Start: System Architecture of a Basic DITA Toolset
Suite Solutions
 
PPTX
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
Suite Solutions
 
PPTX
DITA Quick Start Webinar Series: Getting Started with Information Architecture
Suite Solutions
 
PPT
Introduction to S1000D
Suite Solutions
 
PPTX
DITA Quick Start for Authors Part II
Suite Solutions
 
PPTX
DITA Quick Start for Authors - Part I
Suite Solutions
 
PPTX
Suite Labs: Generating SuiteHelp Output
Suite Solutions
 
PPTX
Overview of SuiteHelp 3.1 for DITA
Suite Solutions
 
PDF
Svg and graphics
Suite Solutions
 
PPT
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
PPT
LocalizingStyleSheetsForHTMLOutputs
Suite Solutions
 
PPT
ImplementingChangeTrackingAndFlagging
Suite Solutions
 
SuiteHelp 4.0: Latest Features in Enterprise Webhelp
Suite Solutions
 
Moving your Organization up the Knowledge Value Chain (Proposal for Lavacon 2...
Suite Solutions
 
Increasing Findability with Subject Schemes (Advanced DITA Webinar)
Suite Solutions
 
SuiteHelp 3.2.5 Latest Features
Suite Solutions
 
Using Taxonomy for Customer-centric Dynamic Publishing
Suite Solutions
 
DITA Quick Start Webinar: Defining Your Style Sheet Requirements
Suite Solutions
 
DITA Quick Start Webinar Series: Building a Project Plan
Suite Solutions
 
DITA Quick Start Webinar Series: Building a Project Plan
Suite Solutions
 
DITA Quick Start: System Architecture of a Basic DITA Toolset
Suite Solutions
 
DITA Quick Start Webinar Series: Getting Started with the DITA Open Toolkit
Suite Solutions
 
DITA Quick Start Webinar Series: Getting Started with Information Architecture
Suite Solutions
 
Introduction to S1000D
Suite Solutions
 
DITA Quick Start for Authors Part II
Suite Solutions
 
DITA Quick Start for Authors - Part I
Suite Solutions
 
Suite Labs: Generating SuiteHelp Output
Suite Solutions
 
Overview of SuiteHelp 3.1 for DITA
Suite Solutions
 
Svg and graphics
Suite Solutions
 
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
LocalizingStyleSheetsForHTMLOutputs
Suite Solutions
 
ImplementingChangeTrackingAndFlagging
Suite Solutions
 

Recently uploaded (20)

PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 

Overview of XSL, XPath and XSL-FO

  • 1. Overview of XSLT, XPATH, and XSL-FO(Beginner Level) Adena FrazerSuite Solutions
  • 2. Overview of XSLMain TopicsWhat is XSL?
  • 6. XSL ResourcesWhat is XSL?XSL – Extensible Stylesheet Language
  • 7. “A family of transformation languages which allows one to describe how files encoded in the XML standard are to be formatted or transformed” (Wikipedia).
  • 8. Written in valid XML (Extensible Markup Language), which requires matching starting and ending tags around content. <xml>Sample</xml>Includes:XPATH -XML Path Language (not XML)XSL-FO - XSL Formatting Objects XSLT - XSL Transformations
  • 9. Overview of XSLMain TopicsWhat is XSL?
  • 10. XPATH
  • 12. XSLT
  • 13. XSL ResourcesXPATHLanguage used to select information from an XML document Based on relationships between nodes (which include elements and attributes)Parents, Children, Siblings, Ancestors, DescendantsCan contain expressions, which calculate and compare values using operators.Operator Reference:http://www.w3schools.com/xpath/xpath_operators.aspCan contain built-in functionsFunction Reference: http://www.w3schools.com/xpath/xpath_functions.aspNodes can be referenced using full syntax or abbreviated syntax.
  • 14. XPATH Syntax (Full)Axis – defines a nodeset relative to a current nodeFor more details and examples, see: http://www.w3schools.com/xpath/xpath_axes.aspXPATH Syntax (Abbreviated)
  • 15. XPATH Examples (1)XPATH is used by XSLT to retrieve information from an XML documentVariable valuesTest conditionsTemplate matchesExample (from commons.xsl line 160):From a node that is the current node’s ancestorThis expression will be true if the condition inside of the parentheses is false [if no nodes match this description]Get any nodeWhose class attribute contains the text ‘ topic/topic ‘
  • 16. XPATH Examples (2)Example (from code that checks if an item is last in a list):Evaluate to true if the preceding node count is zero; otherwise evaluate to falseGet any nodeCount how many nodes meet this criteria:From a node which is a sibling to the current node and comes after the current nodeExample (from commons.xsl line 67):From the first node the meets the preceding criteriaFrom a node that is the current node or the current node’s ancestorGet any nodeWhose class attribute contains the text ‘ topic/topic ‘Get the value of the id attribute
  • 17. Overview of XSLMain TopicsWhat is XSL?
  • 18. XPATH
  • 20. XSLT
  • 21. XSL ResourcesXSL-FO OverviewA unified presentation language which stores both the content of the document and the document’s formatting information.Intended for documents with pages, as opposed to other languages such as HTMLGenerally used as the stage before PDF formatThe document is converted to PDF using a Formatting Object ProcessorThe FO Plug-in uses a .fo extension for XSL-FO FilesRequired components of an FO document:
  • 22. XSL-FO:Document ComponentsRequired components of an FO document:XML DeclarationXSL-FO is a type of XMLRoot Node
  • 23. Contains the whole document, including the Page Layout and Document Data sections
  • 24. Declares the XSL-FO NamespaceXSL-FO:Document ComponentsPage LayoutDefines the properties of a page, including the size, margins and direction of the text flowThere can be many simple-page-masters - one for each type of page
  • 25. XSL-FO:Document ComponentsDocument DataReferences a master-reference which is defined in the Page Layout sectionUses flows to define which part of the page should be usedLegal values: xsl-region-body, xsl-region-before, xsl-region-after, xsl-region-start, xsl-region-endContains the content of the page which is formatted using blocks and inline objects.
  • 26. Margin TopRegion BeforeRegion BodyRegion StartRegion EndMargin RightMargin LeftRegion AfterMargin BottomXSL-FO Page LayoutPage Layout Diagram for a Left to Right and Top to Bottom Text Flow (defined by writing mode attribute)
  • 27. Diagram is different for different text flows XSL-FO ElementsXSL-FO has many elements which are used to format the document. All elements should be preceded by the fo: prefix.These elements include:Table elements: table, table-body, table-cell table-row, table-and-caption, table-caption, table-footer, table-header, table-columnList elements – list-block, list-item, list-item-body, list-item-labelBlock elements: block, block-containerInline elements: inline, inline-containerPage-Number: represents the current page-numberLeader: repeats the specified characterFormatting Objects Reference: http://www.w3schools.com/xslfo/xslfo_reference.asp
  • 28. XSL-FO AttributesEach element in XSL-FO has a corresponding set of attributesThese include:Widow and orphans: keep-with-next, keep-with-previous, keep-together, widows, orphansColors: background-color, colorFont size and style: font-family, font-weight, font-style, font-sizeBorders: border-after-color, border-after-style, border-after-width…Spacing: padding-after, padding-left, padding-right, margin-left, margin-right, margin-bottom, margin-top
  • 29. Overview of XSLMain TopicsWhat is XSL?
  • 30. XPATH
  • 32. XSLT
  • 33. XSL ResourcesXSLT (Extensible Stylesheet Language Transformations)Used to transform XML documents (such as DITA) into XML (such as XHTML, XSL-FO) or other documents (such as text).XSLTStylesheetXSLT Engine / Software / BrowserNew DocumentSource XML Document
  • 34. XSLT (Extensible Stylesheet Language Transformations)XSLT style sheets- contain the formatting and logic of the document. The same style sheets can be reused with any content.Original XML document - contains the content.Style sheets can be applied to the content via:An XSLT compliant browser such as IE6+ Software such as Cooktop http://www.xmlcooktop.com/XSL files end with .xsl (or .xslt) extensionsMuch of the internal workings of the Toolkit and the Plug-in as well as Toolkit and Plug-in customizations are implemented using XSLT.
  • 35. XSLT ElementsAttribute Sets, TemplatesThe main units of code that the FO Plug-in uses to process DITA are attribute sets and templates.Attribute Set - a unit of code that primarily stores information about how to formata DITA element.Example: an attribute set which relates to a <p> element may store information about which font, font size, and font weight should be used to display text surrounded by <p> tags.Template – a unit of code that primarily contains instructions about how to process the DITA. Example: a template which relates to a <p> element may contain instructions about when and where to display auto-generated text and what that text should be.
  • 36. XSLT ElementsAttribute Sets, TemplatesAttribute – an XSLT element that corresponds to a single XSL-FO attribute. The name of the XSLT attribute corresponds to the XSL-FO attribute name, and the text surrounded by the XSLT attribute tags corresponds to the XSL-FO attribute value.Example (from commons-attr.xsl line 419):Attribute Set – contains a group of attributes.
  • 37. Example (from commons-attr.xsl line 418):XSLT ElementsAttribute Sets, TemplatesTemplate –contains instructions about how to process the XML content defined by the template’s match attribute.Example (from commons.xsl line 1625):Matches XML elements whose class attribute contains the text ‘ topic/ph ‘
  • 38. Puts the content of those elements inside of an XSL:FO <inline> tag
  • 39. Identifies the attributes in the “ph” attribute set as attributes of the XSL-FO inline elementXSLT Elements:Attribute Sets, TemplatesExample
  • 41. Code is processed using the template and attribute set from the previous slides
  • 42. XSL-FO Output:Overview of XSLMain TopicsWhat is XSL?
  • 43. XPATH
  • 45. XSLT
  • 46. XSL ResourcesXSL Resources (1)Email ListsMulberry Technologies XSL Email Listhttp://www.mulberrytech.com/xsl/xsl-list/subscribe-unsubscribe.htmlDita-Users email list (for Toolkit / Plug-in related questions)http://tech.groups.yahoo.com/group/dita-users/W3C DocumentationXSL Version 1.0http://www.w3.org/TR/2001/REC-xsl-20011015/XSL Version 1.1http://www.w3.org/TR/2006/REC-xsl11-20061205/XPATH Version 1.0http://www.w3.org/TR/xpathXPATH Version 2.0http://www.w3.org/TR/2007/REC-xpath20-20070123/XPATH Functions and Operators Referencehttp://www.w3.org/TR/xpath-functions/
  • 47. XSL Resources (2)Other WebsitesW3Schools Tutorials and ReferencesXSLT:http://www.w3schools.com/xsl/default.aspXSL-FO:http://www.w3schools.com/xslfo/default.aspXPath:http://www.w3schools.com/xpath/default.aspXSLT Referencehttp://www.zvon.org/xxl/XSLTreference/Output/Dave Pawson’s XSL FAQhttp://www.dpawson.co.uk/xsl/Wikipediahttp://www.wikipedia.org/
  • 48. Overview of XSLMain TopicsWhat is XSL?
  • 49. XPATH
  • 51. XSLT
  • 52. XSL ResourcesEnd of Session: Overview of XSLT, XPATH, and XSL-FO (Beginner Level)