Validate content with regular expression within relax ng

If you want to use regular expression within your relax-ng schema to validate content, you can do as follow:

<element name="group_ids">
 <data type="string">
  <param name="pattern">(d+,?)*</param>
 </data></element>

sources

Post a Comment

Your email is never published nor shared. You're allow to say what you want...