Re: [xml-dev] External subset processing by browsers

From
Dave Pawson <>
To
David Carlisle <>
Date
2008-12-08T16:03:58Z
ID
<>
Thread
Re: [xml-dev] External subset processing by browsers
David Carlisle wrote:
> in an SGML Catalog to associate any file with top level element rss with
> a dfault DTT you'd just need the line
> 
> DOCTYPE rss  some-dtd-with-entity-definitions.dtd
> 
> and then a file starting with
> 
> <rss>
> 
> would act as if it started
> <!DOCTYPE RSS SYSTEM "some-dtd-with-entity-definitions.dtd">
> <rss>
> 
> and you are done so long as the dtd defines the entities you want to
> support.

<documentElement localName="declare-step"
			uri="/files/xproc/relax/xproc.rnc"/>

That is the entry I use for xproc, to make sure any root element
of 'declare-step' picks up the xproc.rnc schema (this for emacs).


As David says, it works as if the DTD were included?


HTH



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk