
Features
|
|
In following indicates a
new feature in 2.0, means
XMLBuddy Pro only.
Validation
Code assist
- Code assist in XML documents based on DTD.
- Element names.
- Attribute names.
- Attribute values (enumeration).
- Entity names.
- If no DTD, code assist based on document contents.
-
![[new]](check.gif) Code assist in DTD
internal subset or external DTD.
- Tag names.
- Parameter entity names.
- General entity names.
Code assist dynamically
updated when DTD changes.
DTD Wizard
- Wizard optionally generates <?xml encoding
declaration.
Wizard allows
existing file to be used as template
for new DTD.
Generation
- Generate DTD command creates DTD based on document
contents.
![[new]](check.gif) Convert to DTD command creates DTD based on
document contents using different algorithm.
![[new]](check.gif) Convert DTD commands allow automatic translation
of DTDs to XML Schema, RELAX NG or RELAX NG compact syntax
schemas.
![[new]](check.gif) Flatten DTD command creates a semantically
identical DTD with all parameter entity references
resolved into a single document.
![[new]](check.gif) Generate XML instance command creates a sample
XML instance document from DTD, based on user-selectable
options.
Open Definition
![[new]](check.gif) Open Definition command opens definition of
selected name in same or other DTD. Names supported
include:
- Element names.
- Attribute names
- Parameter and general entity names.
Validation
Code assist
Wizards
![[new]](check.gif) New XML Schema wizard allows specification of
target namespace, encoding, or allows exising file to be used
as schema template.
![[new]](check.gif) New XML document wizard browse to schema option
sets schema name and target namespace and allows selection of
root element.
![[new]](check.gif) New XML document wizard generates schema
location attributes as appropriate, namespace declarations
with default or specified prefixes.
Generation
- Generate XML Schema command creates schema based on
document contents.
![[new]](check.gif) Convert to XML Schema command creates schema
based on document contents using different algorithm.
![[new]](check.gif) Convert schema commands allow automatic
translation of XML Schema to DTD, RELAX NG or RELAX NG
compact syntax schemas.
![[new]](check.gif) Generate XML instance command creates a sample
XML instance document from XML Schema, based on
user-selectable options.
Open Definition
![[new]](check.gif) Open Definition command opens definition of
selected name in same or other schema. Names supported
include:
- Element names.
- Attribute names
- Type names.
- Group names.
Code assist
![[new]](check.gif) XSLT editor provides code assist using built-in
schemas for both version 1.0 and 2.0 XSLT. (2.0 support is
based on November 2003 draft.)
Validation
![[new]](check.gif) XSLT editor validates based on built-in
schemas for both version 1.0 and 2.0 XSLT.
![[new]](check.gif) Auto-validation option shows errors
dynamically while you edit based on background parse.
Transform
![[new]](check.gif) Transform command applies stylesheet to
designated XML document or transforms document with
designated stylesheet.
![[new]](check.gif) Transform document honors <?xml-stylesheet
processing instruction and allows override.
![[new]](check.gif) Result of transform written to in-memory
file(s) for quick viewing or to project file(s).
XPath View
![[new]](check.gif) XPath view allows quick testing of XPath
expressions based on document context or selected
element in editor.
![[new]](check.gif) Results displayed on demand or
dynamically as expression is entered.
![[new]](check.gif) Both XPath 1.0 and 2.0 supported. (2.0
support is based on November 2003 draft.)
![[new]](check.gif) Result of transform written to in-memory
file(s) for quick viewing or to project file(s).
XPath Search
![[new]](check.gif) Xpath Search provides multi-file search using
XPath 1.0 expressions, e.g., find all instances in workspace
of "/chapter/title[.='Paintball']".
Validation
![[new]](check.gif) Validates based on RELAX NG or RELAX NG compact syntax
schema.
![[new]](check.gif) Validation settable to user-configurable schema
preference with matching root element name or namespace.
![[new]](check.gif) Validation settable to user-configurable schema
property for a particular document.
![[new]](check.gif) Auto-validation option shows errors
dynamically while you edit based on background parse.
Code assist
Wizards
![[new]](check.gif) New RELAX NG or RELAX NG compact syntax schema
wizard allows specification of target namespace, encoding, or
allows exising file to be used as schema template.
![[new]](check.gif) New XML document wizard browse to schema option
sets schema name and target namespace and allows selection of
root element. Schema is automatically set in file
properties.
Generation
![[new]](check.gif) Generate RELAX NG or RELAX NG compact syntax schema command
creates schema based on document contents.
![[new]](check.gif) Convert to RELAX NG or RELAX NG compact syntax
schema command creates schema based on document contents
using different algorithm.
![[new]](check.gif) Convert schema commands allow automatic
translation of RELAX NG or RELAX NG compact syntax schema to
DTD, RELAX NG or RELAX NG compact syntax schemas.
![[new]](check.gif) Generate XML instance command creates a sample
XML instance document from RELAX NG or RELAX NG compact
syntax schema, based on user-selectable options.
Open Definition
![[new]](check.gif) Open Definition command opens definition of
selected name in same or other schema.
Compact Syntax
![[new]](check.gif) Specialized editor for compact syntax
provides syntax coloring and dynamic error checking.
Code assist
- Auto-activation based on trigger characters and context or
user-requested (menu command or keyboard).
Auto-completion when code
assist has only one choice.
Format
- Format entire document or any subset using indentation for
element content and flow for inline content.
Auto-format (flow)
long lines based on user-settable margin.
Use spaces for
tabs option.
- Auto-indentation on return.
- User-settable tab width.
Outline view
- Selection in outline view highlights selected range in
editor.
- Selection in editor opens and selects corresponding
outline view element.
- Show first attribute value option
Show first part of
element contents option.
Project management
- XML project type uses XML perspective. Projects provide
convenient grouping for contextual search, source code
control, etc.
- XML perspective displays new XML document toolbar,
outline view.
- XML document toolbar and outline view also available in
resource, Java and PDE perspectives.
Selection and positioning
Smart tab option lets
tab and shift-tab position by XML syntactic units within
lines.
- Ctrl-left/right-arrow positions by
XML syntactic units.
- Ctrl-Shift-left/right-arrow selects or extends selection by
XML syntactic units.
Power tools
- Select tag or text command allows instant selection of
entire tag or text node at cursor.
Split command splits
current element in two at cursor position.
Join command joins
current element with preceding element (if alike).
Comment command places
<!-- --> comment brackets around current selection or
cursor position. Allows nested comments.
Uncomment command removes
<!-- --> comment brackets from currently selected comment.
Allows nested comments.
![[new]](check.gif) Open DTD/schema command opens DTD or schema used to
validate document in editor, even if on the network.
![[new]](check.gif) Open URL command opens document based on text at
cursor position, even if on the network.
Miscellaneous editing
- Undo/redo with user-settable number of levels.
- Shift whole lines right/left based on tab/shift-tab.
- Clear Validate command clears validation error message for
a given file.
- Double-click validation errors in Task view goes directly
to error line.
Features inherited from Eclipse
Show line numbers
option displays numbers in variable-width left margin.
- Optional emacs accelerator key mode.
- Goto line number command.
- Keyboard shortcuts for
- Position to start/end of word/line.
- Select line.
- Insert/delete line.
- Etc.
- Cut/Copy/Paste.
- Find text in file.
- Print.
- Add/remove named bookmark. Bookmark view. Go to
bookmark.
- Add/remove prioritized task (to-do item). Sortable task
view. Go to task.
|
|