Difference between revisions of "Vex/UserGuide"

From Eclipsepedia

< Vex
Jump to: navigation, search
(Add Element and Duplicate Selection)
Line 20: Line 20:
  
 
=== Editing ===
 
=== Editing ===
 +
 +
Vex provides several commands to edit a XML document.
 +
 +
==== Add Element ====
 +
This command opens a popup dialog which shows a list of elements that could be added to the document at the current cursor position. If you select one of the list items, the popup dialog is closed and the selected element is inserted.
 +
 +
The path of the current cursor position within the document structure is shown in the status bar. This can be an orientation if you want to add an element at a position that is not rendered explicitly (e.g. a new chapter between two existing chapters in Docbook).
 +
 +
=== Duplicate Selection ===
 +
This command duplicates the currently selected elements and inserts them at the beginning of the current selection. If there is nothing selected, 'Duplicate Selection' duplicates the element that surrounds the current cursor position.
 +
 +
The document's root element can, of course, not be duplicated.
  
 
=== Vex Plug-in Project ===
 
=== Vex Plug-in Project ===
  
 
=== Vex Plug-in ===
 
=== Vex Plug-in ===

Revision as of 16:46, 12 August 2010

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

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?


Getting Started

DITA

DocBook

Editing

Vex provides several commands to edit a XML document.

Add Element

This command opens a popup dialog which shows a list of elements that could be added to the document at the current cursor position. If you select one of the list items, the popup dialog is closed and the selected element is inserted.

The path of the current cursor position within the document structure is shown in the status bar. This can be an orientation if you want to add an element at a position that is not rendered explicitly (e.g. a new chapter between two existing chapters in Docbook).

Duplicate Selection

This command duplicates the currently selected elements and inserts them at the beginning of the current selection. If there is nothing selected, 'Duplicate Selection' duplicates the element that surrounds the current cursor position.

The document's root element can, of course, not be duplicated.

Vex Plug-in Project

Vex Plug-in