AngularJS expressions in XSLT

旧城冷巷雨未停 提交于 2019-12-10 20:09:31

问题


I'm using AngularJS' expressions as attribute values in .xsl templates, like this:

<div attribute="{{angularjs.expression}}" data-stuff="{./someId}">

But XSLT takes notice of the curly brackets and tries to process the expression. How can I escape the double curly brackets?


回答1:


I think you need to duplicate them: attribute="{{{{angularjs.expression}}}}".



来源:https://stackoverflow.com/questions/23030507/angularjs-expressions-in-xslt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!