I am trying to create a XML variable but I need to include a { and } in it.
public class MyClass {
private var simple:XML =
<config>
<url>{PROTOCOL}://{SERVER}/{FOLDER}/</url>
</config>
...
}
Flex is trying to find a variable named PROTOCOL, SERVER and FOLDER. I need to prevent this by escaping the curly brackets.
Question: How can I escape curly braces?
I have a couple of thoughts:
{with{(replacing}with}is optional).