Re: nxml-mode, docbook, xinclude

"wyuenho" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
--- In [email protected], Daniel Colascione <danc@...> wrote:
>
> On Monday 09 June 2008, rossburton42 wrote:
> > I'm using nxml-mode to validate my Docbook and so on as I write, but
> > I've hit a small annoyance.  In my current document I'm using XInclude
> > to bring in source code snippets but nxml is for obviously reasons
> > marking <xi:include .../> as invalid.  Is there a way to get nxml-mode
> > to ignore certain namespaces or some other cunning way around this?
> > If I could say that all http://www.w3.org/2001/XInclude namespaced
> > nodes are valid anywhere (and then should be validated with another
> > schema for bonus points) then that would be great.
> 
> The only way to do that currently is to modify the Relax NG schema.
>

I've rewritten the Xinclude grammar in nXhtml to conform to the official Xinclude XSD. If this is useful for you can you double check it and maybe add the productions rules in Docbook's grammar?

http://tech.groups.yahoo.com/group/emacs-nxml-mode/message/1941



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

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.