Re: Starting nxml-mode with specified schema

"Dave Pawson" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
2008/5/25 Lennart Borgman (gmail) <[email protected]>:
> Lennart Borgman (gmail) wrote:
>>
>>
>> I would like to be able to start nxml-mode with a specified schema if
>> there is none specified in the file. (I do not want to save the schema
>> location since this should be for any file.)
>>
>> Is there a way to do this?


   <documentElement localName="locatingRules"
			uri="/sgml/locate.rnc"/>

       <default uri="/sgml/schemas/docbookv5.rnc"/>


     </locatingRules>

as the last entries in locating rules file.

Any new xml file then uses the docbook schema

regards


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

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/emacs-nxml-mode/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.