What I'm trying to do may be a little above and beyond what XSLT should be used for, but I'm trying it regardless.
Since IIS 6.0 uses an XML file for its configuration, I decided to come up with an XSLT to modify it, since I may need to set up application pools for as many as 20 applications in my app servers, and continually doing it at every re-install gets old fast.
I figured I could use XSLT since:
1) It's an XML file, and
2) I don't usually program in .NET or Java these days, and I'd be able to come up with the XSLT quicker.
However, the metabase.xml has a lot of extra characters in their values (line feeds, carriage returns, etc.),
and it looks like IIS won't function without them. I did some basic XSLT that just made a copy of the original metabase.xml file, and it looks like IIS won't accept the new file, because the special characters didn't get copied over:
<xsl:apply-templates select="@*|node()" />
Does anyone have some insight on how I could get use XSLT for this, even with all of these special characters?
All suggestions/comments are much appreciated, this would be a major time-saver if I could get something like this functioning.
A sample metabase file can be found here: