Re: Validated Xinclude'd file

Dave Pawson <[email protected]>
Newsgroups gmane.emacs.nxml.general
Message-ID <[email protected]>
On 29 March 2010 05:48, xylobus2003 <[email protected]> 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


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

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/
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.