Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Vex/UserGuide

< Vex
Revision as of 12:58, 19 August 2010 by Eclipse.voormann.de (Talk | contribs) (Editing)

Warning2.png
Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.
Other User Guides: Xtext

Vex User Guide

Overview

What is Vex?

Vex is a Visual Editor for XML that hides the raw XML tags from the user, providing instead a word processor like interface. Vex uses standard DTD files to define document types and CSS stylesheets to define document layout. Vex contains definitions for DocBook and DITA. To edit other XML formats only a DTD and a CSS are needed.

Who Uses Vex?

Create a new Document

  • DITA
  • DocBook
  • Other XML Formats


Editing

Vex Plug-in Project: Configure your own XML format

  1. Choose File | New | Project...
  2. Choose XML Authoring | Vex Plug-in Project
  3. Add the DTD and CSS file into the project
  4. Edit file vex-plugin.xml:
<plugin>
    <extension id="MyXml"
               name="My XML"
               point="org.eclipse.wst.xml.vex.ui.doctypes">
        <doctype dtd="folder/myXml.dtd"
                 publicId="-//MY//XML//EN"
                 systemId="myXml.dtd"/>
    </extension>
    <extension id="MyXmlStyleA"
               name="My XML - Style A"
               point="org.eclipse.wst.xml.vex.ui.styles">
        <style css="folder/myXml.css">
            <doctypeRef publicId="-//MY//XML//EN"/>
        </style>
   </extension>
</plugin>

Vex Plug-in: Deploy your XML Format Configuration

Back to the top