A few questions
"stephen_langer" <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi--
I've just started using nxml-mode for docbook, switching over from psgml. I have three questions:
1. Why does nxml mark tags like this <chapter id="chapter:intro"> as illegal? If I remove the ':' in the id it's ok. I didn't see anything in the docbook manual about not having colons in ids, but maybe I missed it. Can I tell nxml-mode that colons are ok? I'd rather not remove them all, as there are probably several thousand in the existing document.
2. Is there an nxml-mode equivalent of psgml's sgml-parent-document setting? I have several entities defined in a parent document which are then flagged as invalid by nxml when editing a chapter which is included in the parent.
3. I've followed the instructions for setting up nxml-mode at http://infohost.nmt.edu/tcc/help/pubs/nxml/config.html, but still when I open an existing *.xml file, it's opened in xml mode, not nxml mode (although emacs does report that it's using the correct schema). If I open a new xml file, it opens in nxml. What could be causing this? It doesn't seem to depend on whether or not the file has "-*- xml-mode -*-" in the first line.
I'm using emacs22-carbon from fink on OS X 10.5.8.
Thanks.
-- Steve
------------------------------------
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/