summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2011-12-11 04:34:29 +0530
committerJambunathan K <kjambunathan@gmail.com>2011-12-11 04:34:29 +0530
commitcbd4bd7bdbe98ecf713bed58e22ef5c39df8add9 (patch)
tree0636eee5228e59dc56aaf12f4abc000ad8b51487
parentbaae11d38ccf71d835c68b25dec88311f26625b4 (diff)
downloadorg-mode-cbd4bd7bdbe98ecf713bed58e22ef5c39df8add9.tar.gz
org.texi (Validating OpenDocument XML): New node
-rw-r--r--doc/org.texi25
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 7b1fbbe..0129f06 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