Skip to content

A simple, easy to understand, and easy to follow example of how to use XSLT and how 1.0 differs from 2.0.

License

Notifications You must be signed in to change notification settings

scottgriv/xslt-xml_style_sheet_demo

Repository files navigation

XSLT Badge XSLT Badge Stack Overflow Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


XSLT XML Style Sheet Demo

This project is not designed to be a comprehensive guide to XSLT. It is designed to be a simple, easy to understand, and easy to follow example of how to use XSLT and how 1.0 differs from 2.0 (and how to answer a question on Stack Overflow).


Table of Contents

Background Story

Throwback to my first answer on Stack Overflow on 08/19/2022 titled: XSLT grouping into header & positions.

Unironically (being that it was my first ever answer), its still the only answer I have with a net negative score (-1 at the moment). The commenter who berated me, actually made a good point. The question was indeed over my head and I did miss the tag when I answered it, but a few months later I went back to tackle it again, answering it correctly in both XSLT 1.0 and 2.0.

Don't give up on your previous poor answers. Sometimes you need to revisit them later to see how much you've grown.

Happy Coding! 🚀

Tip

Sometimes people won't specify the exact tech they're using in the question, and utilize tags instead, so be sure to look at the tags and don't be afraid to add a comment to ask for a tag if it is missing!

Getting Started

I used .NET XSLT Fiddle to test my XSLT code (which utilizes the Saxon 10.6 HE Engine). I highly recommend it.

I've included a copy of the XSLT files in this repository for reference (the XSLT file extension is .xsl)

Resources

License

This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.

  • The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
  • For more details, see the LICENSE file in this repository.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch


About

A simple, easy to understand, and easy to follow example of how to use XSLT and how 1.0 differs from 2.0.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages