SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Overview of XSLT, XPATH, and XSL-FO(Beginner Level) Adena FrazerSuite Solutions
Overview of XSLMain Topics ,[object Object]
XPATH
XSL-FO
XSLT
XSL Resources,[object Object]
“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> ,[object Object],XPATH -XML Path Language (not XML) XSL-FO - XSL Formatting Objects  XSLT - XSL Transformations
Overview of XSLMain Topics ,[object Object]
XPATH
XSL-FO
XSLT
XSL Resources,[object Object]
XPATH Syntax (Full) Axis – defines a nodeset relative to a current node ,[object Object],[object Object]
XPATH Examples (1) XPATH is used by XSLT to retrieve information from an XML document Variable values Test conditions Template matches Example (from commons.xsl line 160): From a node that is the current node’s ancestor This expression will be true if the condition inside of the parentheses is false [if no nodes match this description] Get any node Whose class attribute contains the text          ‘ topic/topic ‘
XPATH Examples (2) ,[object Object],Evaluate to true if the preceding node count is zero; otherwise evaluate to false Get any node Count how many nodes meet this criteria: From a node which is a sibling to the current node and comes after the current node ,[object Object],From the first node the meets the preceding criteria From a node that is the current node or the current node’s ancestor Get any node Whose class attribute contains the text                  ‘ topic/topic ‘ Get the value of the id attribute
Overview of XSLMain Topics ,[object Object]
XPATH
XSL-FO
XSLT
XSL Resources,[object Object]
XSL-FO:Document Components Required components of an FO document: XML Declaration XSL-FO is a type of XML ,[object Object]
Contains the whole document, including the Page Layout and Document Data sections
Declares the XSL-FO Namespace,[object Object]
XSL-FO:Document Components Document Data References a master-reference which is defined in the Page Layout section Uses flows to define which part of the page should be used Legal values: xsl-region-body, xsl-region-before, xsl-region-after, xsl-region-start, xsl-region-end Contains the content of the page which is formatted using blocks and inline objects.
Margin Top Region Before Region Body Region Start Region End Margin Right Margin Left Region After Margin Bottom XSL-FO Page Layout ,[object Object]
Diagram is different for different text flows ,[object Object]
XSL-FO Attributes Each element in XSL-FO has a corresponding set of attributes These include: Widow and orphans: keep-with-next, keep-with-previous, keep-together, widows, orphans Colors: background-color, color Font size and style: font-family, font-weight, font-style, font-size Borders: 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 Topics ,[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
eShikshak
 
Php Simple Xml
Php Simple XmlPhp Simple Xml
Php Simple Xml
mussawir20
 

Was ist angesagt? (20)

Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
Xslt
XsltXslt
Xslt
 
Sgml
SgmlSgml
Sgml
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
XSLT presentation
XSLT presentationXSLT presentation
XSLT presentation
 
XML
XMLXML
XML
 
Dom(document object model)
Dom(document object model)Dom(document object model)
Dom(document object model)
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
XSD
XSDXSD
XSD
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Css
CssCss
Css
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Xml schema
Xml schemaXml schema
Xml schema
 
Xpath
XpathXpath
Xpath
 
Document object model(dom)
Document object model(dom)Document object model(dom)
Document object model(dom)
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Php Simple Xml
Php Simple XmlPhp Simple Xml
Php Simple Xml
 
XML
XMLXML
XML
 
Unit 2 dhtml
Unit 2 dhtmlUnit 2 dhtml
Unit 2 dhtml
 

Andere mochten auch

Overview of the DITA Open Toolkit
Overview of the DITA Open ToolkitOverview of the DITA Open Toolkit
Overview of the DITA Open Toolkit
Suite Solutions
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
Suite Solutions
 
StrategiesForUsingMetadata
StrategiesForUsingMetadataStrategiesForUsingMetadata
StrategiesForUsingMetadata
Suite Solutions
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Suite Solutions
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
Suite Solutions
 
mgmnt dev. and org. development
mgmnt dev. and org. developmentmgmnt dev. and org. development
mgmnt dev. and org. development
umesh yadav
 

Andere mochten auch (20)

Overview of the DITA Open Toolkit
Overview of the DITA Open ToolkitOverview of the DITA Open Toolkit
Overview of the DITA Open Toolkit
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
 
CustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputsCustomizingStyleSheetsForHTMLOutputs
CustomizingStyleSheetsForHTMLOutputs
 
StrategiesForUsingMetadata
StrategiesForUsingMetadataStrategiesForUsingMetadata
StrategiesForUsingMetadata
 
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
Understanding and Configuring the FO Plug-in for Generating PDF Files: Part I...
 
Dita ot pipeline webinar
Dita ot pipeline webinarDita ot pipeline webinar
Dita ot pipeline webinar
 
MuleSoft DataWeave data transformation language
MuleSoft DataWeave data transformation languageMuleSoft DataWeave data transformation language
MuleSoft DataWeave data transformation language
 
XMLT
XMLTXMLT
XMLT
 
XML and XPath details
XML and XPath detailsXML and XPath details
XML and XPath details
 
mgmnt dev. and org. development
mgmnt dev. and org. developmentmgmnt dev. and org. development
mgmnt dev. and org. development
 
Tp2
Tp2Tp2
Tp2
 
4 xslt
4   xslt4   xslt
4 xslt
 
Html ,css,xml
Html ,css,xmlHtml ,css,xml
Html ,css,xml
 
HTML, CSS and XML
HTML, CSS and XMLHTML, CSS and XML
HTML, CSS and XML
 
Understanding XML DOM
Understanding XML DOMUnderstanding XML DOM
Understanding XML DOM
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
XSLT
XSLTXSLT
XSLT
 
XPath - XML Path Language
XPath - XML Path LanguageXPath - XML Path Language
XPath - XML Path Language
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Xml dom
Xml domXml dom
Xml dom
 

Ähnlich wie Overview of XSL, XPath and XSL-FO

Xml transformation language
Xml transformation languageXml transformation language
Xml transformation language
reshmavasudev
 
Extensible Stylesheet Language
Extensible Stylesheet LanguageExtensible Stylesheet Language
Extensible Stylesheet Language
Jussi Pohjolainen
 
Basic xml syntax
Basic xml syntaxBasic xml syntax
Basic xml syntax
Raghu nath
 

Ähnlich wie Overview of XSL, XPath and XSL-FO (20)

XPATH_XSLT-1.pptx
XPATH_XSLT-1.pptxXPATH_XSLT-1.pptx
XPATH_XSLT-1.pptx
 
Learning XSLT
Learning XSLTLearning XSLT
Learning XSLT
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
 
Xml transformation language
Xml transformation languageXml transformation language
Xml transformation language
 
XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriya
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriyaIntegrative Programming and Technology Chapter 4- Dr. J. VijiPriya
Integrative Programming and Technology Chapter 4- Dr. J. VijiPriya
 
Xslt
XsltXslt
Xslt
 
Xslt
XsltXslt
Xslt
 
E05412327
E05412327E05412327
E05412327
 
5 xsl (formatting xml documents)
5   xsl (formatting xml documents)5   xsl (formatting xml documents)
5 xsl (formatting xml documents)
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
 
Rendering XML Documents
Rendering XML DocumentsRendering XML Documents
Rendering XML Documents
 
Session 4
Session 4Session 4
Session 4
 
Extensible Stylesheet Language
Extensible Stylesheet LanguageExtensible Stylesheet Language
Extensible Stylesheet Language
 
Xml session
Xml sessionXml session
Xml session
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
CTDA Workshop on XSL
CTDA Workshop on XSLCTDA Workshop on XSL
CTDA Workshop on XSL
 
Basic xml syntax
Basic xml syntaxBasic xml syntax
Basic xml syntax
 
eXtensible Markup Language (XML)
eXtensible Markup Language (XML)eXtensible Markup Language (XML)
eXtensible Markup Language (XML)
 
XPath Introduction
XPath IntroductionXPath Introduction
XPath Introduction
 

Mehr von Suite Solutions

DITA Quick Start for Authors Part II
DITA Quick Start for Authors Part IIDITA Quick Start for Authors Part II
DITA Quick Start for Authors Part II
Suite Solutions
 
C:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse InfocenterC:\Users\User\Desktop\Eclipse Infocenter
C:\Users\User\Desktop\Eclipse Infocenter
Suite Solutions
 
LocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputsLocalizingStyleSheetsForHTMLOutputs
LocalizingStyleSheetsForHTMLOutputs
Suite Solutions
 
ImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlaggingImplementingChangeTrackingAndFlagging
ImplementingChangeTrackingAndFlagging
Suite Solutions
 

Mehr von Suite Solutions (20)

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

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Overview of XSL, XPath and XSL-FO

  • 1. Overview of XSLT, XPATH, and XSL-FO(Beginner Level) Adena FrazerSuite Solutions
  • 2.
  • 6.
  • 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.
  • 9.
  • 10. XPATH
  • 12. XSLT
  • 13.
  • 14.
  • 15. XPATH Examples (1) XPATH is used by XSLT to retrieve information from an XML document Variable values Test conditions Template matches Example (from commons.xsl line 160): From a node that is the current node’s ancestor This expression will be true if the condition inside of the parentheses is false [if no nodes match this description] Get any node Whose class attribute contains the text ‘ topic/topic ‘
  • 16.
  • 17.
  • 18. XPATH
  • 20. XSLT
  • 21.
  • 22.
  • 23. Contains the whole document, including the Page Layout and Document Data sections
  • 24.
  • 25. XSL-FO:Document Components Document Data References a master-reference which is defined in the Page Layout section Uses flows to define which part of the page should be used Legal values: xsl-region-body, xsl-region-before, xsl-region-after, xsl-region-start, xsl-region-end Contains the content of the page which is formatted using blocks and inline objects.
  • 26.
  • 27.
  • 28. XSL-FO Attributes Each element in XSL-FO has a corresponding set of attributes These include: Widow and orphans: keep-with-next, keep-with-previous, keep-together, widows, orphans Colors: background-color, color Font size and style: font-family, font-weight, font-style, font-size Borders: 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.
  • 30. XPATH
  • 32. XSLT
  • 33.
  • 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) extensions Much 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, Templates The 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.
  • 37.
  • 38. Puts the content of those elements inside of an XSL:FO <inline> tag
  • 39.
  • 41. Code is processed using the template and attribute set from the previous slides
  • 42.
  • 43. XPATH
  • 45. XSLT
  • 46.
  • 47. XSL Resources (2) Other Websites W3Schools Tutorials and References XSLT:http://www.w3schools.com/xsl/default.asp XSL-FO:http://www.w3schools.com/xslfo/default.asp XPath:http://www.w3schools.com/xpath/default.asp XSLT Reference http://www.zvon.org/xxl/XSLTreference/Output/ Dave Pawson’s XSL FAQ http://www.dpawson.co.uk/xsl/ Wikipedia http://www.wikipedia.org/
  • 48.
  • 49. XPATH
  • 51. XSLT
  • 52.