删除 xslt 中的输出转义

发布于 2024-09-11 07:28:27 字数 290 浏览 3 评论 0原文

如果我将格式设置为“文本”,标记将添加到文本中。我想以编程方式删除这个标签。 有什么方法可以以编程方式将字符串从文本格式转换为富文本格式。 我知道我们可以通过单击智能标签并选择格式为“richtext”来做到这一点,但是这样做的问题是它不会以字符串形式显示标签,但它出现在页面上(通过查看源代码检查)并且它会影响我的html/我想要渲染的 css 。即,即使我更改格式,它也会在我的 html 中添加额外的内容,我想消除这些内容。

请建议。 预先感谢

干杯! 克坦

tag is added to the text if i set format as "Text". i want to remove this tag programatically.
Is there any way to convert the string from text format to Rich text format programatically.
I know we can do it by clicking the smart tag and selecting format as "richtext", however problem with this is it will not display the tag in string but its present on the page (check by view source) and it effects my html/css which i want to render. i.e even if i change format it adds extra to my html which i want to eliminate.

Please suggest.
Thanks in advance

Cheers!!
Ketan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请持续率性 2024-09-18 07:28:27

添加以下属性:

disable-output-escaping="yes"

add the following attribute:

disable-output-escaping="yes"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文