[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Dimitre's Text Editor (was Re: Should XSLT be us

Subject: Dimitre's Text Editor (was Re: Should XSLT be used to generate a plain text document)?
From: JBryant@xxxxxxxxx
Date: Wed, 27 Apr 2005 09:17:27 -0500
xslt calculator
I am tempted to produce a simple text editor, totally controlled by an
XSLT stylesheet (similar to the way the XSLT calculator is totally
controlled by a stylesheet). All necessary functionality already

    Word breaking (tokenisation).


    Text justification (str-split-to-lines pimplements left
justification, but it will not be a problem to shift the last word on
a line so that its last character is aligned on the right boundary.
One can even use the random number generator of FXSL in order to
randomly spread the few additional spaces between different words on
the line).

    Spelling checking -- demonstrated recently.

    Generation of alternative words having correct spelling (if I
remember well, I demonstrated on this list how this can be done using
FXSL 2-3 years ago)

    Word count/frequencies  -- demonstrated on this list by Mike Kay
not long ago.

Is there any other major text-editing feature I've missed?

Dimitre Novatchev.


Hi, Dimitre,

That's a neat idea. I can think of tons of good things for a text editor 
(I'm sure we all can). Here are a few that come to mind: Syntax 
highlighting, User-selectable font (family and size), Smart element 
insertion (so that I can quickly wrap one element around another in all 
the tagged markup languages). However, I recognize that you aren't trying 
to make a salable product. So I suppose sticking to just the very basics 
(similar to Notepad) is the wise course.

My only quibble so far is that I'd want to see the extra spaces for 
justification inserted evenly rather than randomly. Mind you, I never use 
right justification in a text editor anyway. However, if I did use it, I'd 
want it to be evenly done.

Just my $.02.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.