Blacklist words in XML

femin

New Member
My requirement is : "Dont allow blacklisted words to appear in a specific XML tag".I am trying with xs:restriction using XML regex pattern.I referenced the following link : Restrict word list in XML schema.eg: BLACKLISTED WORDS : byte,bing,dingThe problem : If the words start with the same letter (b), byte passes for bing condition and vice versa.Is there an AND operator I can use ? Is there any other simpler way ?Thanks in advance !!
 
Back
Top