here is to be found xslt parser
http://www.xmlsoft.org/XSLT/downloads.html
xsltproc is an alias or batch like
if parametres can be preset
xmllint.exe --xinclude --output %1 %2 %3
first.xml
<?xml version="1.0"?>
<root>
<data>Daniweb</data>
</root>
first.xsl
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" method="html"/>
<xsl:template match="/">
<html>
<!--new root node in result.html -->
<xsl:apply-templates select="root"/>
<!--node in first.xml to changed -->
</html>
</xsl:template>
<xsl:template match="root">
<xsl:comment>
<xsl:value-of select="' Entered html template '"/>
</xsl:comment>
<body>
<div>
<xsl:value-of select="data"/>
</div>
</body>
</xsl:template>
</xsl:stylesheet> call to excute
xsltproc result.html first.xsl first.xml
result
<html>
<!-- Entered html template -->
<body>
<div>Daniweb</div>
</body>
</html>
Greetings from Germany
Helmut Hagemann