Re: [xml] Correct behaviour of RelaxNG interleave



On Wed, Jan 24, 2007 at 02:57:50PM +0100, Pavol Rusnak wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I would like to ask, what is the correct behaviour of RelaxNG
interleave? Suppose we have the following example:

blueA = element blueA { empty }
blueB = element blueB { empty }
redA  = element redA { empty }
redB  = element redB { empty }

blue = blueA? & blueB?
red  = redA? & redB?

profile_current = blue & red
start = element profile {
   profile_current
}

...
Simply put: am I able to interlave both red and blue tags mutually or I
can only interleave blue tags followed with interleaved red ones and
vice-versa?

  I don't know the compact syntax, I suggest you provide the XML one,
then the diagnostic should be fairly trivial.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]