[
Lists Home |
Date Index |
Thread Index
]
On Tue, Mar 05, 2002 at 10:24:32AM +1100, Marcus Carr wrote:
>
> Daniel Veillard wrote:
>
> > Consider a large doc splitted into chapter. The resulting document
> > is built with XInclude. Each subdocument can contain a DOCTYPE and
> > be validated independantly.
>
> Doing this with entities, I'd generate a document comprised of entity
> references, and create the subdocuments with DOCTYPEs. I'd validate the
> subdocuments independantly, creating the files that matched my entity
> references. I understand that with XInclude I could use the subdocuments
> directly (after validation) rather than first generating an output file
> (without DOCTYPE) from each subdocument - is that the only gain in this
> scenario?
That's the gain. You don't have tro try to trim the DOCTYPe or internal
subset to do further processing.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
|