Re: [xsl] XInclude in Cocoon

Subject: Re: [xsl] XInclude in Cocoon
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Tue, 6 Feb 2001 23:43:55 +0000
On Tue, 06 Feb 2001, Paul wrote:
> >What I meant was, what happens when you include a TEI Lite file 
> >inside a DocBook file? The two have incompatible markup.
> You're still thinking in terms of parsing a document with
> external entities against a DTD.  

Actually I was thinking of how to construct the XSL to let me
do exactly this. Working with other people's documents, ones
which you can't go changing, means having to devise ways to
get around the conflicts of some element type names.

> XML--along with its 
> concept of well-formedness and its companion specs such as 
> Infoset, XInclude, XSLT, XML Schema etc.--has, for better 
> or worse, taken us beyond that.

I'm not sure "beyond" is right. "Beside" is probably closer.

Your description of the process of xinclusion is very useful,
but when working with some applications there is a requirement
to conduct some form of checking that the entity being included
conforms to some kind of known pattern _before_ inclusion 
(or indeed, rejection) takes place, in order to ensure that any
subsequent process (like applying styles) won't blow up in your
face because some idiot edited the file with Notepad and got
a typo in some markup.


 XSL-List info and archive:

Current Thread