Re: Cannot get emacs nxml code completion to work

"ozi_jdavid" <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
--- In [email protected], "Niels Giesen"
<niels.giesen@...> wrote:
>
> The completion does not use a simple taglist, it is more intelligent
> than that: if a table tag would be invalid in the context,
> nxml-complete will not complete it. You did not give us enough context
> to judge whether the tag in question would be valid. Please provide a
> minimal but complete example where it should complete (in accordance
> with the DTD) but it does not.
>

Thanks to everyone for their help. I have mananged to solve the
problem. This issue arises from the fact that I am using Docbook v5.0
and the supplied nxml-mode refers to Docbook 4.5 DTD. Referring to the
'Docbook V5.0 Transition Guide', I edited my
'site-lisp/nxml/schemas.xml' file to associate the Docbook V5.0
elements with the appropriate schema. It now works whenever my
document refers to "http://docbook.org/ns/docbook".

I must have done the association when I initially installed both emacs
and nxml-mode but not since I re-formatted the hard drive. Thanks once
again to all who helped.

David


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

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.