Re: Finding schema files...
>>>>> Dave Pawson <dave.pawson@...>:[snip!]
> This as part of
> (add-hook 'nxml-mode-hook
> (function (lambda()
> (setq rng-schema-locating-files '("/sgml/schemas.xml"))Note that this particular setting may be appropriate to the original
poster's use case. This makes nxml look for a single schemas.xml file
in the directory "/sgml" (absolute path).
But the default value for rng-schema-locating-files should be
appropriate for the original poster.
- Steinar Bang wrote:
> Note that this particular setting may be appropriate to theJust to add my 2 cents to the current discussion, I don't like
> original poster's use case. This makes nxml look for a single
> schemas.xml file in the directory "/sgml" (absolute path).
the schemas.xml file in the current directory neither. I have
the following path in rng-schema-locating-files:
The directory ~/.emacs.d/nxml-schemas/ also contains all the
schemas. And my ~/.emacs.d/ is in a Subversion repository so I
can easily share it between several computers.
With a mix of rules on the actual XML content and on the file
names, those catalogs usually make the job very well.