regular expression pattern matching in XML schema
Posted: Fri Jun 25, 2004 3:00 am
Hi,
I have an element "<foo>" with an attribute "name". The name invariably starts with a prefix ADD_. So all names look like ADD_integers or ADD_floats etc.
I am trying to put a pattern check for this attribute in the XML schema to ensure that the name starts with ADD_.
Can I do this in the schema? If yes,What would be the pattern value for this?
Thanks,
Susheel
I have an element "<foo>" with an attribute "name". The name invariably starts with a prefix ADD_. So all names look like ADD_integers or ADD_floats etc.
I am trying to put a pattern check for this attribute in the XML schema to ensure that the name starts with ADD_.
Can I do this in the schema? If yes,What would be the pattern value for this?
Thanks,
Susheel