Re: editing xhtml fragments
Dave Pawson <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <CAEncD4cLWUZi0Cx8=7W7xOE0oGtHF74MGYyjG4LG6VE+DX9HUQ@mail.gmail.com> |
On 17 August 2011 16:40, Stephen Langer <[email protected]> wrote: > > On Aug 17, 2011, at 10:28 AM, Dave Pawson wrote: > >>> >>> How do you tell nxml how to find the dtd >> >> You don't. >> Use trang to convert to relax NG, >> then use the rnc >> file via the schema association. > > Thanks. I'd forgotten that I'd already done that. But I never figured out how to tell nxml that a file whose first xml tag was <chapter> or <para> is valid, because it's included in another file which contains the required surrounding tags. Wrong tool Validate on the command line, or edit the rnc file to tell nxml-mode that the entity can start on chapter? HTH -- Dave Pawson XSLT XSL-FO FAQ. Docbook 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: [email protected] [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/