I thought i'd use a macro to speed up writing <xsl:choose>
blocks.
DTE.ActiveDocument.Selection.Text = "<xsl:choose>"
DTE.ActiveDocument.Selection.NewLine()
gives me (thanks to auto complete)
<xsl:choose>
</xsl:choose>
however
DTE.ActiveDocument.Selection.Text = "<xsl:choose>"
DTE.ActiveDocument.Selection.NewLine()
DTE.ActiveDocument.Selection.Text = "<xsl:when test=""true()"">"
gives
<xsl:choose>
<xsl:when test="true()"></xsl:when>"
</xsl:choose>
in the editor.
Where is that extra " coming from??
Cheers