I've been having to perform changes to a handful of xml configuration files which is tedious and error prone. I was wondering if there was a tool available like the web.config transformation tool that I could use to transform regular xml with.
views:
14answers:
1
A:
A great tool for changing xml files is XSLT. Unfortunately, I'm not familiar with the web.config transformation tool, so I can not say if they are similar.
Willfulwizard
2010-07-29 18:42:19
I'm aware of XSLT, but is there anything that will execute those transforms for me without having to write code to do it?
Dave
2010-07-29 18:45:34
@Dave - you want magical transformations that read your mind?
Oded
2010-07-29 18:50:53
command line maybe? c:\>transform my.xml with-this.xslt > output-to-this.xml
Dave
2010-07-29 18:52:21
Google "XSLT Command Line" result 1: http://xml.apache.org/xalan-j/commandline.html
Willfulwizard
2010-07-29 19:05:29