[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dave Pawson <davep@d...>
  • To: David Carlisle <davidc@n...>
  • Date: Mon, 08 Dec 2008 16:03:58 +0000

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member