Shorter solution. This stylesheet:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="@*|node()" name="identity">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="Configuration/*[1]">
<Parameter1>
<send>0</send>
<interval>0</interval>
<speed>200</speed>
</Parameter1>
<xsl:call-template name="identity" />
</xsl:template>
</xsl:stylesheet>
Output:
<Configuration>
<Parameter1>
<send>0</send>
<interval>0</interval>
<speed>200</speed>
</Parameter1>
<Parameter2></Parameter2>
</Configuration>
Note: If you want to add Parameter1
only if there isn't already such element in any position, you should change the pattern for: Configuration/*[1][not(/Configuration/Parameter1)]