Re: examples of application of interleave?

David Tolpin <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
> On Tue, 2003-09-30 at 16:23, David Tolpin wrote:
> > Hi,
> > 
> > I have difficulty trying to find real-life examples of application of 'interleave'.
> > Where can I look at a schema with it?
> 
> Any document oriented application (such as XHTML 2.0 [1]) contain good
> examples, but I do believe that data oriented applications should take
> advantage of this feature too even though there are probably less
> examples in this domain.
> 
> [1] http://www.w3.org/TR/xhtml2/xhtml20_relax.html

The only use for interleave in XHTML 2.0 is to combine header.contents from various
modules; and in this context there is no order significance within the patterns
to be combined. This part can be done easily without interleave.

I am trying to solve a problem for which every construct must be converted into a
set of productions and am having difficulty translating interleave into a set
of productions in general case. It is possible and easy in general, but complicates
my particular algorithm. 

I am considering dropping interleave and trying to find out what kind of grammars
will be beyond the scope. I haven't yet seen one.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.