RimWorld

RimWorld

238 ratings
Xml Patch Helper
4
4
6
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
6.002 MB
May 21, 2022 @ 12:17am
Jun 18 @ 10:24pm
7 Change Notes ( view )

Subscribe to download
Xml Patch Helper

Description
This tool allows you to validate or generate XPath based PatchOperations in-game so you can see exactly what your PatchOperation will look like and/or what the result will be.

After helping other modders in the RimWorld development discord channel for nearly 3 years, I figured it would be better to just provide a hands on tool that visualizes how patch operations work, as well as what your XPath is selecting.

The color for the Xml text is ugly!
You can change it in the mod settings.

Disclaimer: This is a modder tool, it has no impact on gameplay.

Github[github.com]

Check out my other mods!
81 Comments
Leutian Kane Aug 12 @ 6:51pm 
a walkthru on how this works would be nice, as the profiler for the Xpaths keeps erroring out
Nepenthe Aug 4 @ 9:30pm 
Just want to say thanks for this mod - I've been using it for years and makes XML patching a lot easier.
Sisyphus Jul 21 @ 2:53pm 
your the man Phil!
Proxyer Jun 19 @ 3:35am 
YES! YES! Ty update!! Making patches just got easier!
Aria Victoria Jun 18 @ 11:18pm 
TY <3
Aria Victoria Jun 18 @ 7:39pm 
Oh, I guess the github link is old? Last update on the repo is showing as last year.
Smash Phil  [author] Jun 18 @ 7:33pm 
Oh yea sorry, this is already updated to 1.6 I just haven't pushed it to steam.
Aria Victoria Jun 18 @ 7:15pm 
No rush (As I know you're already super busy as it is), but, is there any chance of a 1.6 version? I've only been without it for a few days and am already looking at the mod page longingly.
cyanobot Feb 21 @ 9:04am 
Thank you for many diagnosed typos, invaluable tool.
Smash Phil  [author] Sep 28, 2024 @ 5:38pm 
This isn't really set up to test those, but the concept would be the same as just trying to add that single <li/> node. The point is being able to quickly validate that your xpath is correct and that you're inserting the value exactly where you want it. Nested nodes or not, it would be the same.