Does any one know how to put special characters in xml files?

Hello, 

In the part of generator of JetBrains MPS, when I want to generate code of Ionic, I cant write the attribute of (click) or [(ngModel)] because of the parentheses. What can I do?

Thanks for helping

0
2 comments

You need to extends the core.xml language and provide your own concept extending XmlBaseAttribute, perhaps quite similar to XmlAttribute.

 

 

0

In XML files, special characters, also known as reserved or escape characters, need to be encoded using character entities to ensure the XML remains well-formed and doesn't interfere with the XML structure. Here are some commonly used special characters tha and their corresponding character entities in XML:

0

Please sign in to leave a comment.