1912Re: Cannot get emacs nxml code completion to work
- Oct 28, 2008--- In firstname.lastname@example.org, "Niels Giesen"
>Thanks to everyone for their help. I have mananged to solve the
> 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.
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.
- << Previous post in topic