它应该可以在 文本输出模式下 与XSLT一起 使用 :
<xsl:output method="text">…<xsl:template match="b|strong">[b]<xsl:apply-templates/>[/b]</xsl:template><xsl:template match="br"> </xsl:template><xsl:template match="p"> <xsl:apply-templates/> </xsl:template><xsl:template match="a">[url="<xls:value-of select="@href"/>"]<xsl:apply-templates/>[/url]</xsl:template><xsl:template match="text()"><x:value-of select="normalize-space(.)"/></xsl:template>
要到达那里,解析HTML并使用内置的XSLT处理器。



