3

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 Answer 1

4

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

Sign up to request clarification or add additional context in comments.

1 Comment

can you show a simple example of integration xslt and angular?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.