chinajade
Community Developer
- Joined
- Jul 20, 2010
- Messages
- 17,540
- Reaction score
- 172
Profile Writers,
In documenting the new <If> functionality in the Wiki, I completely missed that the argument to Conditional required XML-encoding for it to work properly.
Basically, if you want to write something like:
For proper XML, it has to be written as:
I've updated the <If> Wiki page, and added a new Conditional Wiki page to capture this new understanding. The latter also links to a tool that you can double-check that your predicate expression is properly XML encoded.
Please let me know if you find mistakes, or something needs clarification.
cheers,
CJ
In documenting the new <If> functionality in the Wiki, I completely missed that the argument to Conditional required XML-encoding for it to work properly.
Basically, if you want to write something like:
<If Condition="(Me.Class == WoWClass.Mage) && (Me.Level < 10)">
For proper XML, it has to be written as:
<If Condition="(Me.Class == WoWClass.Mage) &amp;&amp; (Me.Level &lt; 10)">
I've updated the <If> Wiki page, and added a new Conditional Wiki page to capture this new understanding. The latter also links to a tool that you can double-check that your predicate expression is properly XML encoded.
Please let me know if you find mistakes, or something needs clarification.
cheers,
CJ