Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Escaping curly braces in XML

Tags:

.net

xml

escaping

I cannot find the answer for this question.

I read that doubling the bracket should help so something like

<node>http://test.com?test={{0}}</node>

But it didn't

like image 470
ChiTec Avatar asked Apr 23 '10 13:04

ChiTec


1 Answers

You shouldn't need to escape the } character. See this question for the characters that need escaped in XML.

like image 62
James Avatar answered Nov 15 '22 05:11

James