lambogenius-xslt-compose-samples
The samples repository has four Logic Apps. Each folder builds and runs on its own: ./run.ps1 starts Azurite, the Logic App and, for 04, the sample Function; ./demo.ps1 calls every workflow and checks the results; ./test-all.ps1 runs them all.
| Sample | Workflows | Shows |
|---|---|---|
| 01-basics | order-to-sales-order, inline-map, order-report-html, order-lines-csv, order-to-json, error-handling | Deployed and inline maps, xsl:import, query-string parameters, XML/HTML/text, CSV and JSON from XSLT 1.0, xpath() on the result, catching failures in a Scope |
| 02-workflow-variables | variables-as-parameters, batch-loop, dynamic-map, approval-routing | String, float, boolean and integer variables as parameters; a For each loop collecting results in array, integer and float variables; a variable choosing the map; a Switch on the map's answer |
| 03-csharp-scripts | invoice-with-csharp, inline-script, timeout-protection | C# helpers for money, dates, regular expressions and a check digit; two script namespaces; compile caching; a runaway script stopped at 5 s |
| 04-azure-functions | order-to-sales-order, enrich-orders, function-not-allowed | az:InvokeText with the registry, per-transformation caching, a Function 404 caught by the workflow, an alias the action does not allow |
Run one
git clone https://github.com/lambogenius/lambogenius-xslt-compose-samples
cd lambogenius-xslt-compose-samples
# save Lambogenius.XsltCompose.LogicApps.1.1.1.nupkg from Downloads in packages/
cd 02-workflow-variables
./run.ps1 # window 1
./demo.ps1 # window 2Prerequisites: .NET SDK 8 or later with the .NET 8 runtime, Azure Functions Core Tools 4, Azurite and PowerShell 7.