emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
   commit cbd4bd7bdbe98ecf713bed58e22ef5c39df8add9 (patch)
   parent baae11d38 org-odt.el (org-export-odt-schema-dir): Modified
     tree 0636eee5228e59dc56aaf12f4abc000ad8b51487
   author Jambunathan K <kjambunathan@gmail.com>  2011-12-11 04:34:29 +0530
committer Jambunathan K <kjambunathan@gmail.com>  2011-12-11 04:34:29 +0530

org.texi (Validating OpenDocument XML): New node

---
 doc/org.texi | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/doc/org.texi b/doc/org.texi
index 7b1fbbe85..0129f06a4 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -635,6 +635,7 @@ Advanced topics in @acronym{ODT} export
 * Working with OpenDocument style files::
 * Working with raw OpenDocument XML::
 * Customizing Tables in @acronym{ODT} export::
+* Validating OpenDocument XML::
 
 Exporting and Converting to Other formats
 
@@ -11137,6 +11138,7 @@ the variable @code{org-export-odt-fontify-srcblocks}.
 * Working with OpenDocument style files::
 * Working with raw OpenDocument XML::
 * Customizing Tables in @acronym{ODT} export::
+* Validating OpenDocument XML::
 @end menu
 
 @node Exporting and Converting to Other formats, Configuring a converter, Advanced topics in @acronym{ODT} export, Advanced topics in @acronym{ODT} export
@@ -11397,7 +11399,7 @@ This paragraph is specially formatted and uses bold text.
 
 @end enumerate
 
-@node Customizing Tables in @acronym{ODT} export,  , Working with raw OpenDocument XML, Advanced topics in @acronym{ODT} export
+@node Customizing Tables in @acronym{ODT} export, Validating OpenDocument XML, Working with raw OpenDocument XML, Advanced topics in @acronym{ODT} export
 @subsubsection Customizing Tables in @acronym{ODT} export
 @cindex tables, in ODT export
 
@@ -11525,6 +11527,27 @@ To do this, specify the table style created in step (2) as part of
 @end example
 @end enumerate
 
+@node Validating OpenDocument XML,  , Customizing Tables in @acronym{ODT} export, Advanced topics in @acronym{ODT} export
+@subsubsection Validating OpenDocument XML
+
+Occasionally, you will discover that the document created by the
+@acronym{ODT} exporter cannot be opened by your favorite application.  One of
+the common reasons for this is that the @file{.odt} file is corrupt.  In such
+cases, you may want to validate the document against the OpenDocument RELAX
+NG Compact Syntax (RNC) schema. 
+
+For de-compressing @file{.odt} file@footnote{@file{.odt} files are nothing
+but @samp{zip} archives} @inforef{File Archives,,emacs}.  For general help
+with validation (and schema-sensitive editing) of XML files
+@inforef{Introduction,,nxml-mode}.
+
+@vindex org-export-odt-schema-dir
+If you have ready access to OpenDocument @file{.rnc} files and the needed
+schema locating rules in a single folder, you can customize the variable
+@code{org-export-odt-schema-dir} to point to that directory.  The
+@acronym{ODT} exporter will take care of updating the
+@code{rng-schema-locating-files} for you.
+
 @c end opendocument
 
 @node  TaskJuggler export, Freemind export, OpenDocument Text export, Exporting


glossary
--------
Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).