A collection of XSLT files for all sorts of purposes.
Each transform has been tested with Saxon-HE for Java. You can run Saxon directly from the command line like this:
java -jar Saxon-HE-10.0.jar -xsl:transform:.xsl -s:source.xml -o:output.xml
Any other XSLT processor supporting XSLT 3.0 should work as well. If you want to test them online, you can use XSLT Fiddle.
kml_sort_placemarks_alphabetically.xsl sorts the Placemark elements inside of a KML document in ascending alphabetical order. The Folder elements themselves are not reordered, only the Placemark elements inside each Folder element.
json_to_xml.xsl converts JSON data to XML format using the XSLT 3.0 json-to-xml() function. The input JSON should be contained within a <data> element.
xml_to_json.xsl converts XML documents to JSON format using the XSLT 3.0 xml-to-json() function with indentation enabled for readable output.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
Please read SECURITY.md for details on our security policy and how to report security vulnerabilities.
Please read CODE_OF_CONDUCT.md for details on our code of conduct.
This project is licensed under the terms of the LICENSE file.