FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Teaching Coding Agent to Write XSLT — The Hook in Action
How-ToProgramming Languages

Teaching Coding Agent to Write XSLT — The Hook in Action

via Dev.toDaniel Jonathan3h ago

Parts 1 and 2 explained the skill and the hook setup. This part shows it actually running — a real session, real prompts, real hook output. No theory. We'll build the same Order-to-Shipment transformation three ways — XSLT 1.0 with inline C#, XSLT 2.0 with Saxon, and LML compiled to XSLT 3.0 — and watch the hook verify each one, catch bugs, and drive Claude through a multi-step fix cycle. Everything below is from a single session. Step 1: XSLT 1.0 with inline C The prompt Create an XSLT 1.0 transformation (compatible with .NET XslCompiledTransform) that maps an Order to a Shipment. Use the existing Order.xml as input reference and target the ShipmentOutput.xsd schema. Requirements: - Map OrderID → ShipmentRef with a "SHP-" prefix (use inline C# via msxsl:script) - Map OrderDate → ShipDate, reformatted from yyyy-MM-dd to dd/MM/yyyy (inline C#) - Map CustomerName → Recipient - Generate an ExecutionDate using inline C# that returns DateTime.UtcNow - Loop over each Item → Line, mapping Pro

Continue reading on Dev.to

Opens in a new tab

Read Full Article
7 views

Related Articles

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)
How-To

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)

Medium Programming • 2h ago

I Missed This Claude Setting at First. And It Actually Matters
How-To

I Missed This Claude Setting at First. And It Actually Matters

Medium Programming • 4h ago

Instacart Promo Code: Save on Groceries in March 2026
How-To

Instacart Promo Code: Save on Groceries in March 2026

Wired • 6h ago

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table
How-To

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table

Medium Programming • 6h ago

This is the lowest price on a 64GB RAM kit I've seen in months
How-To

This is the lowest price on a 64GB RAM kit I've seen in months

ZDNet • 13h ago

Discover More Articles