Re: nxml-mode, docbook, xinclude

"Dave Pawson" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
2008/6/9 rossburton42 <[email protected]>:
> Hi,
>
> 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?


Not really.

I use it by having a top level (book or article)
which is nearly empty, and uses xinclude.

Then I write chapters (or sections) which validate OK
using nxml-mode+docbook with an appropriate start element?

That works.

Then I use ant to expand xincludes and validate the temporary
full document.


HTH





-- 
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.