John Dowgin wrote:
> 
> I have just installed XML Mind Professional Edition, and am trying to
> configure oit to work with my company?s DITA specialization. I?ve
> successfully added the DTDs to the configuration, and can create and
> edit .dita documents using Tree view, but I have been unsuccessful
> adding a style sheet to the configuration to view the document in
> anything other than tree view.

If you followed this recipe:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/dtd_example.html
, then you need to remove what you did because this recipe is not
adapted to a DITA specialization.

The aforementioned recipe is adapted to custom document types. A DITA
specialization cannot be considered to be a custom document type. It's
rather the normal way to use DITA.



> 
>  
> 
> I?ve found
> 
>  
> 
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/add_css.html
> 
>  
> 
> But I?m not sure what directory custom/ is. I don?t think the individual
> who created the DTDs did so using any custom folder in the XML Mind
> Program Files directory, and I don?t see a customer .xxe file, either.
> 
>  
> 
> Any advice you can provide would be greatly appreciated.

--> My answer is about XXE v4.5, and not about earlier versions, for
which anything related to DITA is no longer supported.

--> You need to read this chapter (the whole chapter, not just the
section "Adding a custom CSS style sheet") in order to find answers to
your questions:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

--> If you don't like reading documentation, you'll also find a ready to
use configuration for a DITA specialization in
XXE_install_dir/doc/configure/samples/topic_plus_tag/

Exceprt of XMLmind XML Editor - Configuration and Deployment:
---
    A configuration for a DITA topic specialization. This specialization
adds a tag element to the topic DTD. A tag element has a required kind
attribute. The values allowed for the kind attribute are: attribute,
attvalue, element, emptytag, endtag, genentity, localname, namespace,
numcharref,paramentity, pi, prefix, comment, starttag.

    This configuration has been created by customizing the stock DITA
topic configuration as explained in Chapter 5, Customizing an existing
configuration.
---

Please take a look at all the files found in topic_plus_tag/ and try to
guess how it works.

In order to use the topic_plus_tag custom configuration (which extends
and overrides the stock DITA configuration):

[1] Copy the whole topic_plus_tag/ directory (i.e. including topmost
"topic_plus_tag" filename) to XXE_user_preferences_dir/addon/

[2] Restart XXE.

[3] Use File|New, DITA|Topic. to create a new <topic>

[4] Click inside a <p> and insert a <tag> element (new element specified
by this sample DITA specialization)

---
XXE_user_preferences_dir is:

    * $HOME/.xxe4/ on Linux.

    * $HOME/Library/Application Support/XMLmind/XMLEditor4/ on the Mac.

    * %APPDATA%\XMLmind\XMLEditor4\ on Windows 2000, XP, Vista, 7.

      Example: C:\Documents and Settings\john\Application
Data\XMLmind\XMLEditor4\ on Windows 2000 and XP.
C:\Users\john\AppData\Roaming\XMLmind\XMLEditor4\ on Windows Vista and 7.
---


Reply via email to