Validated Xinclude'd file
"xylobus2003" <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
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?
book.xml (nXML valid - using docbookxi.rnc):
<?xml version="1.0" encoding="utf-8"?>
<book xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>My First Book</title>
<xi:include href="chap1.xml"/>
</book>
chap1.xml (nXML Invalid - using docbookxi.rnc):
<?xml version="1.0" encoding="utf-8"?>
<chapter id="ch1"><title>My First Chapter</title>
<para>My first paragraph.</para>
------------------------------------
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/