
If this question is beyond the scope of what you are willing to do via support, just let me know. But, on the off chance that it's easy (for you), I thought I'd ask...
In our application, we allow the authoring of XAML containing what we call "Merge Codes" which are pre-processed into valid strings prior to the XAML being parsed. Merge Codes are of the form: <<stuff>>, and may contain quotes. An example of XAML containing a Merge Code might be:I understand that this is not, as written, valid XAML, but it will always be processed prior to parsing.
Given the above example, I'd like the entire token <<Case.Code("DOB").Value>> to be recognized as a Merge Code and formatted differently. I tried to hack the XAML language definition, but couldn't get any traction (because I'm a little clueless at the moment). Furthermore, I expect the nested quotes to be problematic.
So, if you're willing and able to just say "hey, use this XML and it'll work!", that'd be great. If not, is there some portion of the documentation that I have not found that gives much insight into how the language syntax is put together?
Thanks in advance!
David Mullin
In our application, we allow the authoring of XAML containing what we call "Merge Codes" which are pre-processed into valid strings prior to the XAML being parsed. Merge Codes are of the form: <<stuff>>, and may contain quotes. An example of XAML containing a Merge Code might be:
<TextBlock Text="<<Case.Code("DOB").Value>>" />
Given the above example, I'd like the entire token <<Case.Code("DOB").Value>> to be recognized as a Merge Code and formatted differently. I tried to hack the XAML language definition, but couldn't get any traction (because I'm a little clueless at the moment). Furthermore, I expect the nested quotes to be problematic.
So, if you're willing and able to just say "hey, use this XML and it'll work!", that'd be great. If not, is there some portion of the documentation that I have not found that gives much insight into how the language syntax is put together?
Thanks in advance!
David Mullin