Skip to content Skip to navigation

OpenStax_CNX

You are here: Home » Content » Using jEdit for working with XSLT

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

In these lenses

  • XSLT display tagshide tags

    This module is included inLens: Hannes Hirzel's XSLT Lens
    By: Hannes Hirzel

    Comments:

    "How to set up jEdit to do XSLT transformations."

    Click the "XSLT" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Using jEdit for working with XSLT

Module by: Hannes Hirzel. E-mail the author

Summary: The module shows how to set up the jEdit text editor to work with XSLT.

Note:

This is a draft.

Introduction

jEdit is a text editor which can be extended with various plug-in functions. Macros may be written in different scripting languages including an interactive version of Java called 'BeanShell' and JavaScript. In this module the focus is on installing plug-ins to allow it to work as an IDE for XSLT.

Installation

The jedit.org quick start page has instructions how to download and install jEdit.

UTF-8 is the default encoding for XML files. So the default encoding of jEdit should match it. Use menu 'Utilities' / 'Options' / 'Encodings' to make sure this is the case.

To go for the XML/XSLT tools select the PlugIn menu and choose PlugIn Manager.

JEdit Installing the XSLT PlugIn

Click on the Install tab.

Check XSLT, the other options are then automatically checked as well.

JEdit Installing the XSLT PlugIn

Click on download options and select a mirror near you.

JEdit download options

Click OK and then Install.

Choose Utilities, Options, Global options, , Encodings and then set UTF-8 as the default encoding.

JEdit-global-options-encodings.PNG

Doing a XSLT transformation

JEdit-activating-the-XSLT-processor.PNG

JEdit XSLT processor

JEdit docking the XSLT processor

JEdit with XSLT processor

Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks