Loading ...
Sorry, an error occurred while loading the content.

Re: [emacs-nxml-mode] Validated Xinclude'd file

Expand Messages
  • Dave Pawson
    ... docbook provides docbookxi.rnc which can be used with any file using xInclude. to validate the chapter, simply set the schema to the docbook rnc file. It
    Message 1 of 2 , Mar 29, 2010
    • 0 Attachment
      On 29 March 2010 05:48, xylobus2003 <xylobus2003@...> wrote:
      > Hello,
      >
      > If you have an included file, e.g. Docbook5 chapter included in Docbook5 book, which has no DTD, and not a valid root element on its own, is there a way to have it validated?
      >
      > In other words, is there a way to get nXML mode to validate a standalone chapter document?


      docbook provides docbookxi.rnc which can be used with any file using xInclude.

      to validate the chapter, simply set the schema to the docbook rnc file.
      It has chapter as a start element

      HTH


      --
      Dave Pawson
      XSLT XSL-FO FAQ.
      Docbook FAQ.
      http://www.dpawson.co.uk
    Your message has been successfully submitted and would be delivered to recipients shortly.