What's the best way to learn XSLT?
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 1
- Joined: Tue Jun 02, 2020 9:04 pm
What's the best way to learn XSLT?
Post by aksargige4 »
XSLT newbie here,
I understand XML and I'm currently reading "Beginning XSLT 2.0" by Jeni Tennison; does anyone know of any helpful tutorials that I could use alongside this? I've successfully linked an XSLT stylesheet to an XML document; the main thing that I want to understand now is what each part of the stylesheet means and how I can understand and learn the syntax that's used to change the appearance of the XML document.
I understand XML and I'm currently reading "Beginning XSLT 2.0" by Jeni Tennison; does anyone know of any helpful tutorials that I could use alongside this? I've successfully linked an XSLT stylesheet to an XML document; the main thing that I want to understand now is what each part of the stylesheet means and how I can understand and learn the syntax that's used to change the appearance of the XML document.
https://100001.onl/ https://1921681254.mx/ https://happymod.site/
-
- Posts: 9420
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What's the best way to learn XSLT?
Hi,
One way to understand how a stylesheet is applied is to use Oxygen's XSLT debugger and step through the code. Most stylesheets have an xsl:template which matches / (meaning the entire XML document) and this template is called first, then it depends on what this template does, if it explicitly calls other XSLT templates or does an apply-template with a certain matched element.
Recently an xmlcom.slack.com Slack channel was created for XML users, lots of XML experts are registered on it, so this channel might also be a good place were to ask XSLT related questions. I just asked a question there about XSLT tutorials and if I get any answer I will update this forum thread.
Regards,
Radu
One way to understand how a stylesheet is applied is to use Oxygen's XSLT debugger and step through the code. Most stylesheets have an xsl:template which matches / (meaning the entire XML document) and this template is called first, then it depends on what this template does, if it explicitly calls other XSLT templates or does an apply-template with a certain matched element.
Recently an xmlcom.slack.com Slack channel was created for XML users, lots of XML experts are registered on it, so this channel might also be a good place were to ask XSLT related questions. I just asked a question there about XSLT tutorials and if I get any answer I will update this forum thread.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9420
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What's the best way to learn XSLT?
Pasting here some suggestions I got from the XSLT experts on the XML Slack channel:
Radu
I would recommend Michael's "XSLT 2.0 and XPath 2.0", especially Part I: Foundations. I found it an invaluable source.
Regards,A brilliant source for learning XSLT used to be the XSL FAQ, compiled by @Dave Pawson. I believe @Liam Quin is making it available again.
Yes, Liam has put it up at https://www.delightfulcomputing.com/xslfaq/xsl/ but I'm not sure what state of work-in-progress is at that URI
For your amusement, https://xslt.xmlexplorer.com/
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9420
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What's the best way to learn XSLT?
There is also an Udemy course by Ken Holman containing also some free lectures:
https://www.udemy.com/course/practical- ... -and-xpath
Regards,
Radu
https://www.udemy.com/course/practical- ... -and-xpath
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service