[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: roundtrip: w:tab / w:br
One final mail for today (sorry). In order to fix : * [ 1646648 ] w:br are not replaced properly link * [ 1646657 ] w:tab not replaced correctly link I simply added: @@ -1122,6 +1134,16 @@ [@w:type = 'Word.Bookmark.Start'][1]/@w:name"/> </xsl:template> +<!-- replace tab with a space --> +<xsl:template match="w:tab"> + <xsl:text> </xsl:text> +</xsl:template> + +<!-- when multiple lines are collapse onto a single para keep a space --> +<xsl:template match="w:br"> + <xsl:text> </xsl:text> +</xsl:template> + <!-- Index entry --> <xsl:template match="w:r/w:instrText"> <xsl:variable name="text" select="normalize-space(.)"/> HTH -- Mathieu
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]