Subject: Re: [xsl] Partial Implementation of XInclude include element From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Sun, 22 Sep 2002 20:53:35 -0400 |
How do you (or do you?) handle parse="text"?
I don't. Like I said, it's a partial implementation. But I guess it would require an extension element to actually get the data value of the file in order to implement parse='text', right?
This is an example of how the lack of an overarching data model in XML land causes problems: it should really be a function of the data type of the thing included to determine how it is interpreted or it should be indicated through reference to some sort of interpretation definition.
In HyTime, we solved this problem with the general grove model coupled with a way to say what property set and grove constructor to use for a particular external entity. We could do this because we had defined all the grove infrastructure so that there was a definitional framework in which it might make sense to say, for example, "use the 'plaintext' property set and grove constructor to interpret this file, regardless of its nominal data type". The downside of course was that we had to define all the grove infrastructure, which is a huge complicating factor. XML keeps things simple by having only two data types: XML and not-XML. But that simplicity has a cost as well.
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Partial Implementation of, W. Eliot Kimber | Thread | Re: [xsl] Partial Implementation of, W. Eliot Kimber |
Re: [xsl] Partial Implementation of, W. Eliot Kimber | Date | Re: [xsl] Partial Implementation of, W. Eliot Kimber |
Month |