Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Vex/UserGuide"
< Vex
(→Editing) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
= Vex User Guide = | = Vex User Guide = | ||
Revision as of 20:00, 22 August 2010
Contents
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
- Choose File | New | Project...
- Choose XML Authoring | Vex Plug-in Project
- Add the DTD and CSS file into the project
- 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>