Re: nxml-mode, docbook, xinclude

Norman Walsh <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
/ "rossburton42" <[email protected]> was heard to say:
| 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? 

You could use the DocBook RELAX NG grammar that includes XInclude :-)

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

You can probably do that with NVDL, but not in nxml-mode.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[email protected]> | Ambition, n. An overmastering desire to
http://nwalsh.com/            | be vilified by enemies while living and
                              | ridiculed by friends when
                              | dead.--Ambrose Bierce
signature.asc (application/pgp-signature, 185 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iD8DBQFIT1l0OyltUcwYWjsRAqmlAKCi5Ltomn1cgVqhBvdkR5laSbUN+ACeIR2g
qHRyogeEXdziIBw3L28lagg=
=hain
-----END PGP SIGNATURE-----
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.