Your SlideShare is downloading. ×
  • Like
XSLT Development with oXygen (Part1) - Editing, Validation and Transformation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

XSLT Development with oXygen (Part1) - Editing, Validation and Transformation

  • 957 views
Published

XSLT is the best supported technology in oXygen. …

XSLT is the best supported technology in oXygen.
You can find below an outline of the topics covered by the presentation:
- XSLT editing
- Validation
- Transformations
- XSLT documentation
- XPath content completion
In this presentation we will introduce you to these features indirectly, focusing on resolving a number of problems and see how oXygen can help us accomplish those tasks.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
957
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
2
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. XSLT Development withXSLT Development with<oXygen/><oXygen/>Part1: Editing, Validation and TransformationPart1: Editing, Validation and TransformationOctavian Nadoluoctavian_nadolu@oxygenxml.com@OctavianNadolu
  • 2. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Generate HTML● Create a stylesheet to generate an HTML file
  • 3. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 1● Create new stylesheet● Add some XSLT elements
  • 4. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Wizard dialog to create a new XSLT● Used the XSLT 2.0● Documentation for stylesheet components● Content completion XSLT and XPath● Documentation for XSLT and XPath elements● Validation as you type
  • 5. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 2● Associate the XML with the XSL and generatean output
  • 6. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Configure a transformation scenario● Save the scenario in project or global options● Multiple transformation engines● FO Processing● Save or preview the transformation result
  • 7. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 3● Generate a table with books
  • 8. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● XSLT Input view● XPath default namespace● Content completion presents XML elements● Content completion aware of context
  • 9. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 4● Generate books images
  • 10. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Code templates allows us to insert smalldocument fragments● The content completion presents the attributesfrom the XML document available in context
  • 11. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 5● Generate title with link
  • 12. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Variables presented in content completion● Create template from selection● Preview the result of the refactoring action
  • 13. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 6● Generate author in output
  • 14. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Drag and drop nodes from the XSLT Input viewto create elements in stylesheet
  • 15. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 7● Generate book info in output
  • 16. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● The code template helps you to insert XSLTdocument fragments easily● The caret position is in the attribute value andthe content completion is started
  • 17. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 8● Generate description in output
  • 18. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Create a stylesheet from scratch– XSLT and XPath content completion– XSLT Input view– Code templates● Validation– Validation as you type– Highlight errors● Transformation– Transformation scenarios– Multiple engines
  • 19. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 9● Identify XSLT component occurrences● Rename an XSLT component
  • 20. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Easy Identification of XSLT ComponentReferences
  • 21. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 10● Group the books by technology
  • 22. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● The XPath toolbar● XPath builder for complex expressions● XPath 1.0, 2.0, 3.0● Content completion
  • 23. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1XSLT Outline● Parameters● Variables● Templates● Functions● Attribute-sets● Character-maps
  • 24. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 11● Generate two HTML files
  • 25. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Parameters are detected from the stylesheet● Pass the value of the parameter● Perform multiple transformations● Use Transformation view
  • 26. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Demo – step 12● Document your stylesheet
  • 27. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● <oXygen/> provides a built-in schema fordocumentation● You can use other languages like HTML,DocBook, Dita or your own custom language● Action to add documentation for a component
  • 28. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1XSLT DocumentationThe XSLT documentation support
  • 29. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Conclusion● Generate documentation in HTML or customformat● Table of Contents● Link between components● User documentation● Show/Hide documentation details
  • 30. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Thank you!Questions?Questions?<oXygen/> XML Editorhttp://www.oxygenxml.comoctavian_nadolu@oxygenxml.com@OctavianNadolu
  • 31. Copyright @ Syncro Soft, 2013. All rights reserved.Copyright @ Syncro Soft, 2013. All rights reserved.XSLT Development with <oXygen/> - Part 1XSLT Development with <oXygen/> - Part 1Q&AAnswers to your questionsIf your question is not answered now, we will bein touch with an answer by email after thewebinar.The recording of the webinar will be availablefrom our events page:http://www.oxygenxml.com/events_programme.html#pastevents