Pierce Tyler | 18 Jul 21:23 2014

How get nice header into web help

Hi,

I am using the pro version 5.9.0 to generate web help--and am trying 
to insert a custom header just like the one in the XMLmind XML 
Editor - Online Help example:

http://www.xmlmind.com/xmleditor/_distrib/doc/help/wh/index.html

I see from your example you were able to insert your header into the 
body somehow. Do you have any tips on how to do this?

I tried to solve this by creating a customized .css which put an 
image and text "before" the body defined by __stock_webhelp.css. 
This looks good at first, but on closer inspection we find that the 
last bit of content in our longer sections cannot be viewed when 
scrolled down to. What's missing in the content is an area about 
equal to the size of the hacked in header we inserted. You can see 
an example of what I'm talking about here:

http://www.xtuple.org/sites/default/files/refguide/current/dspSingleLevelBOM.html

Thanks for any insight.

Best regards,
Pierce

--

-- 
Pierce Tyler
VP Knowledge Management  <at> xTuple

(Continue reading)

Hussein Shafie | 18 Jul 10:10 2014

The messages of XMLmind XML Editor v6 have been translated to Chinese

We are glad to announce that the messages of XMLmind XML Editor v6 have 
been translated to Chinese.

Many thanks to Semel for doing this!

If you are interested in this translation, please use menu item 
"Options|Install Add-ons" to automatically download and install the 
corresponding add-on.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

nobili, philippe | 16 Jul 10:01 2014

Embedding XMLMind batch convertdoc/xxetool

Dear M. Shafie,

 

So far we are embedding the complete  XMLMind distribution in our development toolkits; it serves two purposes:

 

= The GUI application is used by developers to author Docbook documents

= The batch conversion program is used under the wood at compile time to generate the documentation

 

We would like to separate those two purposes and create a smaller embedded package for the batch conversion, just adding the Java classes scripts and addons needed to perform the conversion. The rationale is to get a much smaller package but also the upgrade XMLMind GUI to benefit from the latest goodies without changing the batch conversion procedures, since changes are very rare in this area.

 

Could you advise us on how to create this packaging; is there a smart way to do it ?

Many thanks for your help,

Best regards,

Philippe.

 

 

 

 

Philippe Nobili

Subsurface Imaging - Product Engineering

Tel: +33 16447 4090 | Mobile: +33 63756 6441

 

CGG,

27 avenue Carnot

Massy, 91341 – France

 

Please consider the environment before printing.

 

This email and any accompanying attachments are confidential. If you received this email by mistake, please delete
it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.


--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 15 Jul 10:29 2014

Re: Schematron support for XMLMind

Fredrik C. wrote:
>
>  >  However note that XMLmind XML Editor *native*, fast, implementation of
>  > Schematron only supports rules written in XSLT 1.0, not in XSLT 2.0.
>
> When will you release a version that supports Schematron rules written
> in XSLT 2.0? For our application (editing GenICam XML-files) we are
> using advanced Schematron rules and have gotten a recommendation from a
> consultant who is working with GenICam to use oXygen XML as it supports
> this already. However as we are already using XMLMind for DocBook
> editing we would prefer to continue using XMLMind instead of switching
> vendor.
>
>

I'm sorry but the answer is no, implementing this feature is not 
planned. We'll implement it as soon as a major XML format for writing 
technical documentation will require it (which is currently not the case).

Anyway, XMLmind XML Editor is only useful for writing *prose* (DocBook, 
DITA, XHTML, TEI, S1000D, etc). It's not a programmer's XML editor which 
would be good at editing GenICam[*] files. Therefore, it's probably a 
good idea to follow the recommendation of your consultant.

---
[*] The GenICam™ standard
http://www.emva.org/cms/index.php?idcat=27

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Fabián Mandelbaum | 14 Jul 18:04 2014
Picon

XXE 5.9.0 Command To Remove All Elements Matching a Certain XPath Expression

Hello,

I'm trying to write a macro command to remove all elements matching a given XPath expression using XXE 5.9.0.

This is the command definition in my customization file (0docbook5.xxe):

 <command name="db5.removeUnusedParts">

    <macro repetable="true" undoable="true" label="Remove Unused Parts">

        <sequence>

            <command name="xpathSearch" parameter="//*[ <at> revisionflag='off']" />

            <command name="delete" />

        </sequence>

    </macro>

  </command>



I assign it to a button on the UI

<button toolTip="Remove Unused Parts"

            icon="../config/common/icons/up.png">

        <command name="db5.removeUnusedParts" />

    </button>



The button shows up and it is enabled when I select an element in the document. Clicking the button removes only the first matching node from the XPath node-set result.

So, a few questions:

1) How can I have the button always enabled as opposed to enabled only when selecting an element? The idea is to actually make this not a button, but a menu entry of the "DocBook" (XML) menu.

2) If xpathSearch returns a node-set, why isn't the delete command applied to all nodes in the node-set and it's only applied to the first matching node? How can I 'loop' through all nodes returned in the node-set applying the delete command on them? Will I have to forget about this macro command and write a custom Java command instead (Not that I do not know how to do it, I'm just trying to solve this with what XXE already has)?

All of the examples I've found on the documentation apply commands to a single node, not to a node-set. I've searched the docs too and found no "loop-like" construct to write commands (I'm pretty sure there's good reasons for that... but I need one :-))

Thanks in advance for your answers.

--
Fabián Mandelbaum
IS Engineer

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 12 Jul 12:04 2014

Re: Support DocBook with "FreeBSD Document Style"

Semel wrote:
> I hope you can support DocBook with "FreeBSD Document Style " , It's simple and beautiful.

--> If you mean: use  FreeBSD Documentation Project's CSS when editing a 
DocBook document in XMLmind XML Editor, then the answer is: no because 
these styles are not adapted to authoring a DocBook document in XMLmind 
XML Editor.

--> If you mean: use  FreeBSD Documentation Project's CSS when 
generating HTML out of my DocBook document, then you can do it yourself 
in just 2 minutes.

Please proceed as follows:

[1] Open your DocBook v4 or v5 document.

[2] Select "Options|Customize Configuration|Customize Document 
Conversion Stylesheets"

[3] In the dialog box, select "Convert to multi-page HTML".
See attached customize_document_conversion_stylesheets.png

[4] Save the docbook.css file (comes from the FreeBSD Documentation 
Project with minor modifications due to FreeBSD use of custom XSL 
stylesheets) attached to this email to any location you want.

[5] In the "CSS stylesheet frame", click "Add".
See attached add_fdp_css.png

[6] When prompted, specify the location of the docbook.css file and give 
a description to this CSS file.

[7] Click OK to close the prompt.

After doing this, the "Customize Document Conversion Stylesheets" dialog 
box looks like attached after_adding_fdp_css.png.

[8] Click OK to close the "Customize Document Conversion Stylesheets" 
dialog box.

These settings are done once for all. From now, all the DocBook 
documents you'll convert to multi-page HTML will look like those created 
by the FreeBSD Documentation Project .

For example, please compare:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

to XXE online help generated after applying the above procedure:

http://www.pixware.fr/_download/help-fdp-style/index.html

Attachment (docbook.css): text/css, 7642 bytes

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 11 Jul 10:25 2014

Re: Schematron support for XMLMind

Fredrik C. wrote:
>
> My company already has a few XMLMind licenses used for editing DocBook
> documents. We have got a suggestion to use Oxygen XML as an editor for a
> new project as it supports Schematron. Does also XMLMind support
> Schematron?

Yes, unless you have an ancient --several years old-- version of XMLmind 
XML Editor. For example, DocBook 5 documents are validated against both 
a RELAX NG schema and a Schematron.

>
> Now we need to have an XML-editor for editing GenICam files which is
> XML-files with corresponding XSD Schemas and Schematron Schemas.

However note that XMLmind XML Editor *native*, fast, implementation of 
Schematron only supports rules written in XSLT 1.0, not in XSLT 2.0.

Therefore if the rules of the Schematron for GenICam uses are expressed 
in XSLT 1.0, then you cannot use XMLmind XML Editor, even if the editor 
supports Schematron.

>
> Can I use XMLMind to edit these documents and get help with structure
> and syntax using the above schemas.

No problem provided you write an ad-hoc XML *configuration* file which 
adds support for GenICam documents to XMLmind XML Editor.

See "Writing a configuration file for XXE":
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/config_file.html

>
> How do I specify which schema (XSD and Schematron) should belong to a
> specific XML-file?

The configuration may be used to specify this.

See configuration element "schema":
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/schema.html

See configuration element "schematron":
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/schematron.html

--> If you want to specify the XSD to be used directly in the document, 
then use the standard method:

---
<foo xmlns="http://www.acme.com/ns/foo"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.acme.com/ns/foo
                              foo.xsd">
---
http://www.w3.org/TR/xmlschema-1/#schema-loc

--> There is currently no way to  specify the Schematron to be used 
directly in the document.

The standard method should be the following one one, but it is currently 
not supported by XMLmind XML Editor for Schematron, only for RELAX NG 
Schemas.

---
<?xml-model href="foo.sch" type="application/schematron+xml"?>
---
http://www.w3.org/TR/xml-model/

Note that specifying which XSD and Schematron to use outside the 
document itself, by the means an a configuration, is cleaner and less 
error prone than specifying this in the document itself.

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Camille Bégnis | 9 Jul 12:25 2014

Arabic support

Hello,

I know this is a long standing limitation, do you have any plan to introduce support for right to left writing in XXE?

Best regards,

--
NeoDoc
Camille Bégnis
camille <at> neodoc.fr
Tél: +33 (0)4.42.52.24.20
5, rue de la Touloubre
13770 Venelles
France

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Hussein Shafie | 2 Jul 19:21 2014

Re: Evaluation copy crashing on valid document

Pierce T. wrote:
 >
 > Thanks for your reply. Please see replies below.
 >

I managed to reproduce the problem albeit without crashing Java (I work 
on a Linux box, not on Windows).

It's an out of memory caused by the large number of images (2,000 pages 
when printed; over 700 XML files; just over 1100 <imagedata> elements).

It's not surprising that XXE v5.9 eats a little more memory than v4.5.2. 
(Or is it a recent Java 64-bit runtime compared to an older Java 32-bit 
runtime?)

There are two ways to work around this problem:

1) Do not display the images normally. Display them as thumbnails. In 
order to do this, before opening your document, please Select 
Options|Preferences and then select the View section.

At the end of this section, you'll find a "Display images" combobox, 
please select "as thumbnails".

More information in 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewOptions.html#viewOptions_images

After doing this, I was able to open referenceguide.xml in about 25s 
(Quad-core Core i7; 8Gb) and to generate the Web Help. See it here:

http://www.pixware.fr/XXX/YYY/

AND/OR

2) Increase the amount of memory allowed for Java. How to do this is 
explained in the FAQ:

---
XXE freezes when I try to open large XML files. Is there a workaround 
for this problem?
---
http://www.xmlmind.com/xmleditor/faq.html#outofmemory

After changing -Xmx512m to -Xmx2048m, I was able to open 
referenceguide.xml with the images displayed normally.

Moreover, after checking "Yes" in "Load images in a background task", an 
option which is almost mandatory for your use case, your document 
appeared after just 12s!

More information in 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewOptions.html#viewOptions_images

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Hussein Shafie | 2 Jul 15:50 2014

Re: Evaluation copy crashing on valid document

Pierce T. wrote:
>
> I just downloaded the evaluation copy (version 5.9.0). My first test was
> to load our Reference Guide book because I wanted to test the new
> conversion features. Some background information: Our Reference Guide is
> authored/maintained in XMLmind Editor 4.5.2 using DTD DocBook XML V4.5.
>
> The book file appeared to load fine. I got the attached document
> inclusion message. Then I got the notice that the book is valid (see
> attached). But after waiting for the document to load for 2-3 minutes,

This is much, much, too long. (I assume that you don't use an antique 
computer.)

Is your document really huge (*thousands* of pages). Does it contain 
loads of high-res images?

Have you customized in any way your existing XMLmind XML Editor v4.5.2 
and this customization has the side effect of causing XMLmind XML Editor 
v5.9 to download the DocBook DTD from the Web?

> the application closed without warning.

This means that Java itself has crashed.

> I restarted the application 3
> more times and got the same result.
>
> Any ideas what the problem might be?

No. Even an out of memory error or a stack overflow would not crash Java.

I've no way to reproduce the problem. May be I could reproduce the 
problem if you send me a complete copy of the document which causes Java 
to crash and burn.

If you cannot send me your document, then please refer to these FAQs:

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

http://www.xmlmind.com/xmleditor/faq.html#outofmemory

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

http://www.xmlmind.com/xmleditor/faq.html#display_exception_in_console

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Niels Grundtvig Nielsen | 1 Jul 10:05 2014
Picon

working with DITA <draft-comment>

As I continue moveing real content to DITA thanks to XML Mind, the time is coming where I'll need to start review cycles. I'm not going to ask my innocent reviewers to read xml source! and wondered whether there is a switch I can use to include <draft-comment> elements in .pdf and Web Help output?

Thanks in advance for hints and tips!

--
XMLmind XML Editor Support List
xmleditor-support <at> xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Gmane