[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Associating schema with document
Message text written by James Clark >See my message at: http://lists.oasis-open.org/archives/relax-ng/200109/msg00110.html I've been thinking about a catalog-based approach, and I think that would be more powerful than a PI although significantly more complicated. The catalog could contain rules like: <<<<<<<<<<<<< James. Hmmm. But this is really just a bolt-on in front of the parser. We're (XMLG) doing this in a bigger sense with our Transform technology. It has a module that examines the datastream before it hits the mapper - and then invokes the right template depending on source and content. So we could combine this idea with the PI - and the RELAX parser then has a first step which is "content alignment" - as part of the spec's - where it decides how to go. The PI could easily pass a parameter to enable this: type="DTD" type="RELAX", etc. DW.
Powered by eList eXpress LLC