1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-20 04:23:16 +00:00
This commit is contained in:
2026-01-15 09:45:30 +01:00
parent 221da7b4d9
commit 23b6861d82
11 changed files with 58 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "Transforming XML to JSON and CSV with XSLT"
description: "Patterns for producing modern integration formats while staying in XSLT."
date: 2025-03-04T00:00:00Z
date: 2024-11-24T00:00:00Z
---
XSLT is usually associated with XML-to-XML transformations, but in integration work you often need JSON or CSV. The good news is that XSLT is perfectly capable of producing non-XML outputs when you design the stylesheet for it. The key is to choose the right output method, control whitespace carefully, and build an intermediate structure if it helps clarify the mapping. This post covers practical patterns for generating JSON and CSV from XML while keeping the stylesheet maintainable.