Hi
Goal: trying to validate a string to see if it can be a valid XML
attribute name and, if not, replace any of the invalid characters with
an underscore (to fix it up).
Is there anything in the dot net framework to help with this? If not,
I'm guessing writing a regular expression is the way forward.
The specification is 2.3 Common Syntactic Constructs at
http://www.w3.org/TR/xml/ .
If I do write a regular expression will I really have to write one to
cover all those entries in e.g. CombiningChar!?!?!
Thinking my approach is wrong and time-consuming. Am I on the right
track or can someone advise me of a better way?
Thanks!
Emma