Skopik Pavel wrote:
> 
>  
> 
> I would like to add another another online help file to the existing 
> ones so that my colleagues can access it directly when using the editor.
> 
>  
> 
> I tried to use the "help" element pointing to appropriate location, but 
> nothing happened.
> 
>  
> 
> I would be very grateful for some hint how to solve this.
> 
>  
> 

Well, it works for many add-ons so there is no reason it will not work 
for you.

The basic idea is that Javahelp .jar files cannot come from nowhere. 
Such help files should document a working XXE configuration.

Let's take the "DITA configuration based on the OASIS DTD" add-on as an 
example:

[1] The add-on contains a configuration file having a name attribute and 
a <detect> element.

---
<configuration name="DITA"
   xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
   xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>

   <include location="dita_common.incl" />

   <detect>
     <or>
       <dtdPublicId substring="true">DTD DITA Topic</dtdPublicId>
       <dtdPublicId substring="true">DTD DITA Concept</dtdPublicId>
       <dtdPublicId substring="true">DTD DITA Task</dtdPublicId>
       <dtdPublicId substring="true">DTD DITA Reference</dtdPublicId>
       <dtdPublicId substring="true">DTD DITA Composite</dtdPublicId>

       <and>
          <not><schemaType>schema</schemaType></not>
          <schemaType xsi:nil="true" />
          <rootElementNamespace xsi:nil="true" />
          <or>
            <rootElementLocalName>topic</rootElementLocalName>
            <rootElementLocalName>concept</rootElementLocalName>
            <rootElementLocalName>task</rootElementLocalName>
            <rootElementLocalName>reference</rootElementLocalName>
            <rootElementLocalName>dita</rootElementLocalName>
          </or>
       </and>
     </or>
   </detect>
---

[2] This configuration file (more precisely "dita_common.incl") contains 
a help element pointing to a JavaHelp .jar file.

---
   <help location="dita_help.jar" />
---

[3] "dita_help.jar" contains a HelpSet file called "dita_help/jhelpset.hs".

That is, if a help file is called "foo.jar", it must contain a HelpSet 
called "foo/jhelpset.hs"

See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/help.html

Reply via email to