Preview XSLT patches
xslt_previewRun a Bannerlord module's merge and XSLT pipeline to see before/after diffs for target objects and catch XSLT errors that break loading.
Instructions
Runs the game's merge + XSLT pipeline (System.Xml XslCompiledTransform, like the game) for a module and shows before/after diffs of every object its XSLT rules target (or only targets). Also reveals XSLT errors that would break loading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Module whose XSLT to preview (any module, read-only is fine). | |
| xml_id | No | Limit to one XmlName id, e.g. Items. | |
| targets | No | Specific objects to diff, e.g. Item.x or Culture.empire (default: everything the rules target). | |
| game_type | No | Game type (default Campaign). |