Is it possible to apply rules set in Embedded content of XML parser for the attributes as well? I need to remove unwanted content from some attributes, but it seems that the embedded content rules can be applies just for the elements. Is this option available in any new parser? I used XML 1.2.0.0 parser.
Example:
I would like to rule out all the content from the attribute formula which is in square brackets(green):
<calculation class='wide' formula='{ FIXED [Customer ID], YEAR([Order Date]): COUNTD([Order ID])}' />
I can make some regex to mark up the text in green as translatable, or the other way, I can mark up the rest as Not translatable. Either way, I cannot use these rules to be applied for any attributes. For the same content in elements, it works without any issues.
Are there any XML file types which could allow user to make a custom rules even for attributes?
Thanks for any advice.
[edited by: Paul at 11:19 PM (GMT 0) on 25 Mar 2022]
