Why replace one attribute by element is valid, and two attributes not?
In a identity transform we can delete an attribute by <xsl:template match="@myAttrib"/> this works for any input... And we can "replace" the attribute by an element with <xsl:template match="@myAttrib"><b>my new element</b></xsl:template> ... but it works only when input have only one attribute. By other hand, if I need to replace attribute's value, the xsl:template behaviour is the same, that is, <xsl:template match="@myAttrib">newValue</xsl:template> not replaces the value, but delete attribute and include the "newValue" as a textNode. Why "replace value" is invalid? Why "replace by element"