I am using Relax Ng
to validate XML
file
In my XML file I have a tag with several values separated by comma
<mytage>01,02,03,04<mytage>
I can use <List>
pattern in the .rng file but it matches a whitespace-separated sequence not comma-separated
It could be specified using
<param name="pattern">
with a regular expression; for example:Or in the compact syntax:
If you want to make it part of a
<choice>
:Or in the compact syntax: