[relaxng-user] Strange difference between mixed and interleave

MURATA Makoto (FAMILY Given) EB2M-MRT at asahi-net.or.jp
Tue Mar 1 23:30:18 ICT 2005

Your second pattern is

	mixed {(element b {text}*, element i {text}*)}.

In other words, <i> cannot precede <b>.

Your first pattern is

	(element b {text}*) & (element i {text}*) & text

This allow any mixture of text, <b>, and <i>.

MURATA Makoto (FAMILY Given) <EB2M-MRT at asahi-net.or.jp>

More information about the relaxng-user mailing list