Saxon file chooser (saxon_chooser.bsh v1.0 by Dan Wasson)
Submitted by
was8309 on
Wednesday, 31 October, 2012 - 18:45
very simple macro to choose an xml file, then an xsl file, then run saxon on them in console.
I'm trying to learn xslt 2 and needed a 'repl' for trying a bunch examples from websites.
there are currently several sites that do transforms via xslt 1.0, but I can't find one for xslt 2.0, hence
saxon (saxon9he).
maybe todo : add *.xml and *.xsl filters
Make Scriptlet (Make_Scriptlet.bsh v1.0 by Tomasz Peszor)
Submitted by
takeshin on
Thursday, 7 August, 2008 - 08:19
Macro for creating valid HTML bookmarklets.
Compress JavaScript to one line of code, removing newline characters and other whitespaces in the current buffer or selection.
Makes the text appropriate for use as a JavaScript bookmarklet.
Based on Make_Bookmarklet.bsh by delvinj, but my version produces valid HTML source.
Date Tag Buddy (Date_Tag_Buddy.bsh v0.2 by Ralf Kintrup)
Submitted by
RalfK on
Tuesday, 7 March, 2006 - 11:12
[READ THIS USING THE MACRO MANAGER]
Updates certain date value tags in an HTML buffer (the current edit mode must be "html"):
1. Updates the date value of a modification
date tag:
Last modified: 01 Mar 2006
2. Updates the year in a copyright text:
© Me 2006
Updates all "includes" in an HTML buffer. An include is defined as two HTML comments where the first one contains the path to a file that should be inserted between the comments:
The path can be relative, as in the example, or absolute. Included files may contain date tags.
The date tag and "include" updates can be automatically updated when the buffer is saved. Therefore install Ollie Rutherfurd's ActionHooks plugin (http://plugins.jedit.org/plugins/?ActionHooks) and set it up:
1. Add the Date Tag Buddy macro to the
"BufferUpdate.SAVED" event list.
2. Configure the ActionHooks plugin to start up
with JEdit.
This ensures that date tags and "includes" are automatically updated whenever the HTML buffer is saved.
A modification tag is identified by
and . A copyright text is identified by © and . The macro assumes that the date value is located at the end of each tag. To change the default behavior of the macro you can modify the constants at its end.
Checked for jEdit 4.3pre3 API.
Replace HTML/XML tags (Replace_Tags.bsh v1.0 by De Franciscis Dimitri megadix@gmail.com)
Submitted by
megadix on
Wednesday, 7 September, 2005 - 13:59
Replace an HTML/XML tag with another, preserving all the rest:
- attributes (even with incorrect syntax)
- whitespace
- character data
Browse and link (browseAndLink.bsh v20-Mar-05 by Pavel Štětina and Jean-François Magni)
Submitted by
jfm on
Tuesday, 2 November, 2004 - 13:16
(If this macro doesn't work using the macro manager, download it directly from http://community.jedit.org/?q=filestore/browse/39).
This macro opens a file browser in order to insert links with relative path in an html file. It can be used for linking html, pdf, images, shortcut icons, style sheet files and Javascript files. For images, "width" an "height" in pixel are added. If html files are selected in the file browser, the anchors and id's of this file are listed in a dialog window. It is also possible to edit existing tags (e.g., img) and much more.
Hypertext Link (Hypertext_Link.bsh v0.1 by Vojtech Broz (vojtech.broz@email.cz))
Submitted by
xbrov01 on
Monday, 26 July, 2004 - 10:43
This BeanShell macro creates an HTML anchor (<A HREF="">...</A> tag) for a URL selected in a buffer. Also gets the HTML page title from the web and puts it into the tag body. Requires the jTidy plugin.
Validate HTML (check_html1.bsh v1.00 by Lars Naber)
Submitted by
fixedsys on
Wednesday, 28 January, 2004 - 12:02
A Beanshell macro to check html files with an external software using the Console plugin.
You have to change the path to the checker in the macro for your needs.