X-SQLT Examples

Here is the list of examples that may help you to better understand the principles of using an X-SQLT language. All examples listed here (and even more) can be found in an X-SQLT installation folder, so you can try them in practice.

Files and databases, referenced in all examples, are located relatively to a given sample project, so you can find them in the same folder, or somewhere near.


  1. Convert CSV to XML
  2. Convert CSV to XML with namespaces
  3. Convert XML to CSV
  4. Convert XML to CSV using path filter
  5. Convert XML to CSV using path filter with namespaces
  6. Convert XML to JSON
  7. Convert JSON to XML
  8. Convert JSON to XML using path filter
  9. Filter XML by XPath
  10. Filter XML by XPath using selection namespaces
  11. Get a value from XML by XPath
  12. Transform XML with XSLT
  13. Extract data from database using SQL
  14. Extract data from database using SQL (parameterized)
  15. Extract data from database using command-line only
  16. Import data into database
  17. pdScript transformation
  18. VBScript transformation with parameters
  19. Script conditions