Re: Specifying outlining scheme

Dave Pawson <[email protected]> Sat, 13 Oct 2012 07:27:08 +0100
Newsgroups gmane.emacs.nxml.general
Message-ID <CAEncD4egdyFwKqPmGc++J8UBdb-3HXL9Ki1_EBdeSL2-4d6v+Q@mail.gmail.com>
On 12 October 2012 18:26, RonB <[email protected]> wrote:
> nxml outlining doesn't work for me, since I don't happen to use the schema that nxml-section-element-name-regexp assumes. I don't want to set that every time I edit a file using a different schema. How do people normally deal with that?
>
> Since the price of admittance to using nxml on custom XML is creating a .rnc schema anyway, seems like that would be the natural place to store that information, e.g., as an annotation. Has anybody written such a patch?


It's not a patch, its the normal way to use nxml-mode.
Read the documentation that comes with it?

http://www.dpawson.co.uk/relaxng/nxml/nxml-mode.html  Look for locating a schema
Then you need to read section 5.2.1 in the info file.
(C-h i nxml-mode)

HTH



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook 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:
    [email protected] 
    [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/