I have an xml file where a section is defined for environment. I'd like to have the XSLT contain a key/value pair that would override those values. for example:
Sample INPUT XML - YES, variable is nested
<root>
<folders/>
<variables>
<variable>
<name>homeserver</name>
<value>myServer.com</value>
<variable>
<name>workserver</name>
<value>work.com</value>
</variable>
</variable>
</variables>
</root>
Sample XLST in meta code:
<xsl:variable name=KeyPair>
<environment>
<item name="homeserver" value="testhomeserver.com">
<item name="workserver" value="testworkserver.com">
</xsl:variable>
<xsl:magic happens here />
Intended output:
<root>
<folders/>
<variables>
<variable>
<name>homeserver</name>
<value>testhomeserver.com</value>
<variable>
<name>workserver</name>
<value>testworkserver.com</value>
</variable>
</variable>
</variables>
</root>