XMLmind XML Editor
|Convert icons
Convert to PDF iconConvert to RTF (Word 2000+) iconConvert to WordprocessingML (Word 2003+) iconConvert to Office Open XML (.docx, Word 2007+) iconConvert to OpenDocument (.odt, OpenOffice/LibreOffice 2+) icon

Frequently Asked Questions

See also Known Problems.

Troubleshooting

Converting XML documents to other formats

Getting XMLmind XML Editor


Troubleshooting

Q: XXE won't start after upgrading to Mac OS X Yosemite. Is there a workaround?

A: Yes. This issue is caused by the following facts:

  • Older versions of Apple Java™ 6 do not run on Yosemite. Apple Java 6 reports the following error:
    ...
    Dyld Error Message:
       Symbol not found: _CGContextSetAllowsAcceleration
       Referenced from:
    /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libawt.jnilib
       Expected in:
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    ...
  • When installed using the .dmg distribution, XXE always favors Apple Java 6 (less bugs, better font rendering) over Oracle Java™ 8 when this older Java runtime is available on the Mac.

Therefore there are two possible workarounds:

  1. Uninstall Apple Java 6 to force XXE to use its bundled, private, Oracle Java 8 runtime (or a more recent runtime if available on the Mac). This is done using the following command:
    sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

    In some cases, you may need to also execute:

    sudo rm -rf /Library/Java/JavaVirtualMachines/1.6.0*.jdk
  2. If you prefer to continue using Apple Java 6 (recommended), please upgrade your Apple Java 6 runtime to at least version "Java for OS X 2014-001". This runtime can be downloaded from http://support.apple.com/kb/dl1572.

Q: The HTML, PDF, RTF, .docx, etc, files generated by the "Convert Document" menu contain meaningless text. What's going on?

A: Evaluation Edition has a "Convert Document" submenu. However the items of this submenu all generate output containing random duplicate letters (which make the output useless for any purpose other than evaluating XXE). Of course, this will not happen with Professional Edition.

Evaluation Edition generates output containing random duplicate letters

Q: When I use Options|Install Add-ons, the add-ons I'm interested in are not listed in the dialog box. I'm sure I've seen these add-ons listed there before. What happens and how can I download and install these add-ons?

A: You are almost certainly using a version of XMLmind XML Editor which is more than one version older than latest version. For example, latest version is v5.9 and you are using v5.7. In such case, the add-ons which match this version have been archived and cannot be downloaded and installed using the normal settings of Options|Install Add-ons.

The easiest way to download and install “old add-ons” from within XMLmind XML Editor is to proceed as follow:

  1. Select menu item Options|Preferences, then select the Install add-ons section.
  2. Click the Reset button and select "Use the add-on archive" from the popup menu.
  3. Click OK to close the dialog box.

All this is done once for all. Install add-ons normally using Options|Install Add-ons. Now, you should see in the dialog box much more add-ons than before.

Where to find old versions of XMLmind XML Editor?

You'll find old versions of XMLmind XML Editor and also old versions of the add-ons in http://www.xmlmind.com/archive/xmleditor/. You can use your Web browser to browse this archive.

Directly downloading distributions from this directory may be useful if, for example, your enterprise proxy does not allow you to follow the above procedure.

Q: I cannot download and install any add-on using Options|Install Add-ons. Is there another way to download and install add-ons?

A: Please try the following workarounds (in the order of this list):

  1. May be your anti-virus software is getting in the way by monitoring too aggressively the connections to our servers. Try to temporarily disable your anti-virus software while you are downloading and installing add-ons.
  2. May be you have problems with the proxy server which is used by your organization. This proxy server is typically used each time your Web browser (or XMLmind XML Editor) attempts to make connections to the Internet.
    1. Use Options|Preferences, select the Proxies section.
    2. Check that your proxy server is properly declared here. If you don't know how to fill this form, ask your network administrator to help you.
    3. Click OK. Try again to download and install add-ons using Options|Install add-ons.
  3. May be XMLmind server is temporarily down (this happens quite rarely). When this is the case, simply wait for a few hours until our server is restarted.
  4. If the above workarounds have not solved your problem, we recommend this approach which should work in all cases:
    1. Use your Web browser to download from this page: http://www.xmlmind.com/xmleditor/addons.shtml, all the add-ons you are interested in.
    2. An add-on is packaged as a .zip file. Make sure to save all the downloaded .zip files to the same directory. For example, let's suppose this directory is C:\temp.
    3. Use Options|Preferences, select the Install Add-ons section.
    4. Turn "Download add-ons from these servers" off.
    5. Turn "Search add-ons in the directory" on and specify "C:\temp" in the corresponding text field.
    6. Click OK. Try again to download and install add-ons using Options|Install add-ons.

Q: I have successfully installed the setup.exe on my Windows® machine but after that, I cannot start the application. Can you help?

A: Which distribution have you installed?

item If you have installed XXE using xxe-XXX-setup-nojvm.exe (which requires to have JavaTM runtime properly installed):

  1. Make sure that a JavaTM runtime version 1.6+ has been installed on your machine. (If this is not the case, the icon/launcher created by the installer should have displayed a error dialog box clearly saying so.)

    To check this, open a command window (AKA DOS window) and execute the following command:

    C:\> java -version
  2. Please take the time to send us a bug report as explained below.
  3. As a workaround, try to start XXE using xxe-c.bat instead of the “icon/launcher created by the installer”.

    xxe-c.bat is found in the bin/ subdirectory of the directory where you have installed XXE (by default C:\Program Files\XMLmind_XML_Editor\bin).

    In order to do this, edit xxe-c.bat using notepad and change the beginning of last line:

    start "" /b "%java%"

    to (following example assumes that you have installed the required JavaTM 1.6+ runtime in C:\Program Files\Java):

    start "" /b "C:\Program Files\Java\jre1.6.0_45\bin\java"

    (Quotes are important in above example.)

item If you have installed XXE using xxe-XXX-setup.exe (which includes a private JavaTM runtime):

  1. Please take the time to send us a bug report as explained below.
  2. As a workaround, try to start XXE using xxe-c.bat instead of the ``icon/launcher created by the installer''.

    xxe-c.bat is found in the bin/ subdirectory of the directory where you have installed XXE (by default C:\Program Files\XMLmind_XML_Editor\bin).

    In order to do this, edit xxe-c.bat using notepad and change the beginning of last line:

    start "" /b "%java%"

    to (following example assumes that you have installed XXE in C:\Program Files\XMLmind_XML_Editor):

    start "" /b "C:\Program Files\XMLmind_XML_Editor\bin\jre\bin\java"

    (Quotes are very important in above example.)

Tracing what happens when the “icon/launcher created by the installer” is used to start XMLmind XML Editor

This launcher is file xxe.exe found in the bin/ subdirectory of the directory where you have installed XXE (by default C:\Program Files\XMLmind_XML_Editor\bin).

The launcher is parametrized by file xxe.jstart found in the same directory. This file is a text file using the UTF-8 encoding. (If you modify it using notepad, make sure to save it as UTF-8.)

  1. Open a command window (AKA DOS window).
  2. Change current directory to the bin/ subdirectory of the directory where you have installed XXE:
    C:\> cd C:\Program Files\XMLmind_XML_Editor\bin
  3. Define an environment variable called VERBOSE_JSTART:
    C:\Program Files\XMLmind_XML_Editor\bin> set VERBOSE_JSTART=1
  4. Start XXE using xxe.exe run from this command window:
    C:\Program Files\XMLmind_XML_Editor\bin> xxe.exe
  5. When environment variable VERBOSE_JSTART has been set, xxe.exe creates a log file called xxe.jstart_log in the directory where you have installed XXE.
    C:\Program Files\XMLmind_XML_Editor\bin> type xxe.jstart_log

    Please send us (e-mail address of xmleditorsupport) this file and also, please specify the exact version of Windows® you use, your locale and the exact version of JavaTM you use.

Q: XXE freezes when I try to open large XML files. Is there a workaround for this problem?

A: This is probably an out-of-memory error due to the fact that your XML file is very, very, large or contains loads of high-resolution images.

By default, XXE is configured to use at most 512 megabytes. This limit can be increased but this requires you to edit a script file using a text editor.

item On Windows,

  • If you start XXE using the “icon/launcher created by the installer” (file xxe.exe) in the Start menu:
    1. Go to the bin/ subdirectory of the directory where you have installed XXE, for example C:\Program Files\XMLmind_XML_Editor\bin.
    2. Edit xxe.jstart using notepad. Make sure to use a version of notepad which supports the UTF-8 encoding.
    3. Change line:
      -Xss4m -Xmx512m

      to:

      -Xss4m -Xmx1024m
    4. Make sure to save your changes using the UTF-8 encoding.
  • If you start XXE using the xxe-c.bat script:
    1. Go to the bin/ subdirectory of the directory where you have installed XXE, for example C:\Program Files\XMLmind_XML_Editor\bin.
    2. Edit the xxe-c.bat script file using notepad.
    3. Change line starting with:
      start "" /b "%java%" -Xss4m -Xmx512m ...

      to:

      start "" /b "%java%" -Xss4m -Xmx1024m ...

item On Linux/Unix:

  1. Go to the bin/ subdirectory of the directory where you have installed XXE, for example /opt/xxe/bin.
  2. Edit the xxe script file using a text editor.
  3. Change line:
    mem="-Xss4m -Xmx512m"

    to:

    mem="-Xss4m -Xmx1024m"

item On the Mac:

  1. Using the Finder, Ctrl-click or right-click on the XMLEditor icon and then choose "Show Package Contents" from the pop-menu in order to open the application bundle.
  2. From there, go to the Contents folder.
  3. Edit the Info.plist file using the Property List Editor (which is the default application to do that).
  4. In the Java section, change line:
    VMOptions String -Xss4m -Xmx512m

    to:

    VMOptions String -Xss4m -Xmx1024m

Q: XXE crashes when I try to convert large XML files to PDF. Is there a workaround for this problem?

A: See answer to previous question.

Q: XXE seems to freeze when I do such and such action. What's going on?

A: You have probably found a bug and a low-level error message (an exception stack trace) has probably been printed on the console.

Please take the time to send an email to e-mail address of xmleditorsupport, describing what you did and containing a copy of this low-level error message. A screen shot of the console is fine but note that it is the start of the error message which is meaningful, and not its end.

Now the question is how the display the console on which XXE prints its low-level error messages.

  • On Windows, simply start XXE using XXE_install_dir/bin/xxe-c.bat rather than using xxe.exe (which is the “icon/launcher created by the installer”).
  • On the Mac, open the Console application which is found in /Applications/Utilities/, then start XXE.
  • On Linux, simply start XXE from an xterm.

Q: I get a lot of errors when I open one of my XHTML documents. I'm sure these documents are valid. Why does XXE report such false errors?

A: You have opened an XHTML document conforming to the Transitional DTD and this document, not having the proper <!DOCTYPE> at the top of it, is considered by XXE as conforming to the XHTML5. More information in XMLmind XML Editor - XHTML Support.

Q: I just downloaded XXE and opened a few of my XML documents with it. It works fine except that all I can see is a tree view. How can I get a word processor-like view for my documents?

A: Please take the time to read the Configuration and Deployment document. This document explains how to write a configuration file for XXE.

Writing a simple configuration file plus a few template documents for a custom DTD takes 10 minutes. Specifying a custom menu and/or custom tool bar buttons is also quick and easy. Writing a CSS style sheet may take several hours, but it's well worth doing it.

Q: I opened a modular DocBook 4 book in XXE comprising a number of chapters, each chapter being stored in its own file. "Edit|Reference|Edit Referenced Document" (keyboard shortcut: Ctrl+Shift-E) is always grayed out. Moreover, when I use "File|Open" to open to open a chapter file in XXE, it displays a tree view and not the styled view as expected. What's wrong with my DocBook 4 document?

A: Your modular DocBook 4 book includes a number of chapters by the means of references to external entities. Your chapter files being external entities, they cannot start with the DocBook <!DOCTYPE> and as such, are not stand-alone documents XXE can open. For example, if a chapter contains "&nbsp;", then opening it in XXE would cause the editor to report a "non well-formed XML" error.

For all these reasons, XMLmind has given up support for creating modular documents using entity references since XXE v4. You can open such legacy modular documents in XXE, but basically that's it.

If you want to keep using XXE, you need to convert all the entity references to XIncludes:

  1. Add a DOCTYPE at the top of each module file (chapter, appendix, section, preface, etc). For example, add:
    <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> 

    at the top of Introduction.xml. Make sure to add the DOCTYPE after: <?xml version="1.0" encoding="ENCODING"?>.

  2. In the book, replace each entity reference by the corresponding XInclude. For example: &Introduction; becomes:
    <xi:include href="Introduction.xml"
                xmlns:xi="http://www.w3.org/2001/XInclude" /> 
  3. In the book, remove the now useless internal DTD subset. That is, remove:
    [
    <!ENTITY Introduction SYSTEM "Introduction.xml">
    <!ENTITY Installation SYSTEM "Install.xml">
    <!ENTITY Config SYSTEM "Config.xml">
    ...
    <!ENTITY AppendixConfigFileFormat SYSTEM "AppendixConfigFileFormat.xml"> 
    ] 

Converting XML documents to other formats

Q: How do I customize the HTML, PDF, RTF, etc, generated using the "Convert Document" menu?

A: This is done by customizing the XSLT stylesheet which is used to generate the HTML, PDF, RTF, etc, deliverable. Note that, for HTML-based deliverables (Web Help, HTML Help, EPUB, etc), you'll have to customize the CSS stylesheet used to style the generated pages.

As of XMLmind XML Editor v5.3, this can be done from within the application without modifying configuration files by hand and without prior knowledge of XSLT. This facility is implemented by menu item Options|Customize Configuration|Customize Document Conversion Stylesheets and by XMLmind XSL Customizer, a specialized editor.

Now your next question is almost certainly: which XSLT attributes, XSLT parameters, CSS styles do I need to specify to get the result I want?

Well, you'll find these answers in the following reference manuals:

Also, if you are a customer and send us a support request, we'll try to tell you which XSLT attributes, XSLT parameters, CSS styles, you should specify.

However, please keep in mind that XMLmind XML Editor is an authoring tool. It does not pretend to be a complete publishing solution. Therefore the answer to your question may be: this cannot be done simply by declaring XSLT attributes, XSLT parameters, CSS styles. Instead, the XSLT stylesheet which is used to generate the deliverable needs to be modified or extended by programming. When this is the case, you, as a technical writer, should consider hiring a consultant or leaving this responsibility to a ``local guru''.

Simplest customization

This being said, there are a few common cases for which you can customize what's generated by the "Convert Document" menu quite easily. This is done when using any of the menu items of the "Convert Document" menu.

For example, let's suppose you want to convert your DocBook document to PDF and want to change the paper type from A4 to US Letter.

In order to do that, you need to specify XSLT stylesheet parameter paper.type as USletter. (The reference manual of DocBook XSLT stylesheet parameters is DocBook XSL Stylesheet Reference Documentation.)

Procedure:

  1. Open your DocBook document.
  2. Select "DocBook|Convert Document|Convert to PDF".
  3. Click "Document conversion parameters" to expand the conversion parameters pane.
    Change Document Conversion Parameters
  4. Click Add.
  5. Type:
    Name:paper.type
    Value:USletter
    Add Parameter
  6. Click OK to convert your document using the paper.type parameter you have just specified.

    This setting is specified once for all, and not each time you'll have to convert a DocBook document. More information in XMLmind XML Editor - Online Help, The "Document conversion parameters" panel.

Q: When I convert documents written in Russian (or Polish or Czech or any non-western language) to PDF, almost all characters are replaced by the "#" character. Is there a workaround for this problem?

A: By default, PDF uses its 14 built-in fonts: Times, Helvetica, Courier, Symbol and ZapfDingbats. These fonts have glyphs only for the western (AKA Latin1) languages. Therefore you need to substitute to these built-in fonts truly multilingual fonts. Fortunately, such multilingual fonts are widely available. For example, the Times New Roman, Arial and Courier New fonts are available in standard not only on Windows, but also on the Mac and on most flavors on Linux (msttcorefonts package). This can be done from within XMLmind XML Editor. More information in XMLmind XML Editor - Online Help, Apache FOP options and RenderX XEP options.

Q: How can I change the charset of the HTML files generated when I convert a DocBook document to HTML? This charset is ISO-8859-1. I would prefer it to be UTF-8.

A: The charset used by default for HTML is ISO-8859-1 for historical reasons. The charset used by default for XHTML is UTF-8. Therefore if you don't mind generating XHTML rather than HTML, the simplest thing to do is to switch to XHTML.

Procedure:

  1. Open the document you want to convert to activate its configuration.
  2. Select menu item Options|Customize Configuration|Customize Document Conversion Stylesheets.
  3. Select "Convert to multi-page HTML" using the combobox found at the top of the dialog box.
  4. Choose one of the items starting with "Generate XHTML" from the "XSLT stylesheet" combobox.
  5. Click OK.

If you really want to generate HTML and not XHTML, then this becomes more complicated.

  • You want to generate multi-page HTML:
    1. Open the document you want to convert to activate its configuration.
    2. Select menu item Options|Customize Configuration|Change Document Conversion Parameters.
    3. Select "Convert to multi-page HTML" using the combobox found at the top of the dialog box.
    4. Click on Add
    5. Specify "chunker.output.encoding" as the name of the parameter and "UTF-8" as the value of the parameter.
    6. Click OK.
    7. Click OK.
  • You want to generate single-page HTML:

    You are out of luck because this requires customizing the DocBook configuration by hand. How to do this is explained here: Customizing the XSLT style sheets used in the Convert Document submenu.

Getting XMLmind XML Editor

Q: I'm supposed to be allowed to upgrade Professional Edition for free. How can I do that?

A: Please use this form: http://www.xmlmind.com/store/download.php Open in a new window, generally accessed through this page: http://www.xmlmind.com/xmleditor/upgrade.html.

Tip: If you want to be sent an email each time a new version of XMLmind XML Editor is released, please subscribe to the xmleditor-announce mailing list. This is done by using the form found in this page: http://www.xmlmind.com/mailman/listinfo/xmleditor-announce Open in a new window.

Q: Is there a way to extend the evaluation period of XMLmind XML Editor?

A: No, this is technically not possible. You must either:

  • Reinstall the product on a different machine.
  • Or use a different user account to reinstall the product on the same machine.
  • Or wait for the next release, uninstall the old copy, download and install the new release.

© 2003-2014 Pixware SARL. Updated on 2014/10/28.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Acrobat and PostScript are trademarks of Adobe Systems Incorporated.