|
XSLAtHome is a project
developing an XSL editor-type extension to Allaire's excellent editor,
HomeSite. I'll be uploading tag definitions, scripts, whatever I end up
writing or collecting from others.
Currently, I have rudimentary tag insight files for most (if not all) of the
XSLT tags, as well as a script to execute a transformation.
This will hopefully be a group project, so feel free to make any changes to
the files and send them back to me. Together, we can make a great XSL Editor.
I'll also be putting up some other Homesite (and, perhaps, non-homesite) related things, so
keep checking back to see. Announcements of changes and updates are sent to the xmlNews mailing list
which you can sign up to by sending a blank email to xmlNews-subscribe@egroups.com.
By signing up to this, you will periodicially get email about other TopXML products, as well.
Coming Soon!
- Vladimir Zyrianov has sent me his extensions to the XSLT tag insight files, which include tag editors. We will be integrating
these together.
- I've been working with Allaire (slowly), trying to figure out how the validation works in Homesite. I'm hoping to have XSLT validation
working before too long.
Downloads:
Tag Insight Files
Installation Instructions
The files in the zip must be extracted to a subdirectory under your HomeSite TagDefs directory
(for example, C:\Program Files\Allaire\HomeSite 4.5\Extensions\TagDefs). The zip files that you download
from here have the necessary directory name embedded in them (for example, XSL for the XSLT files), so
you should be able to just unzip them into the TagDefs directory.
If you have a problem, I've included the name of the directory in parentheses after the heading.
Note: I currently only have the tag insight part written in the VTM file, no tag editor, as I don't use those
all that often.
Note2: Homesite only started adding rudimentary support for namespaces in 4.5.1, so you must have (at least)
this version to use these tag insight files. The scripts, however, should still run.
XSLT (XSL)
XSLT (xsl.zip):
eXtensible Stylesheet Language - Transformation.
DHTMLBehaviors (PUBLIC)
Behaviors (public.zip):
DHTML Behaviors for Microsoft Internet Explorer.
Coming Soon (hopefully, but don't hold your breath): Wizard for creating DHTML behaviors
Scripts
Installation Instructions
The vbs/js files can be placed anywhere on your hard drive, although I prefer to place them in the
addins subdirectory (for example, c:\program files\allaire\homesite 4.5\extensions\addins).
To install the script in HomeSite, you must associate either a toolbar button or a hotkey with it. This
can be done through the Options/Customize menu (Shift-F8 or right-clicking on the quickbar). For more
information on installing a script, see the HomeSite documentation.
XPath Tester:
Updated: September 4, 2000
This will accept an XPath query and execute it on the currently active document. It is inspired by the excellent
XPath Tester utility by
Teun Duynstee in his and James Britt's book, Professional Visual Basic 6 XML.
I'm currently working on porting their GUI tool to a COM component for use from Homesite (similar to the RegExTools integration).
XSL Transformation Script:
Updated: September 8, 2000
This transforms the currently open XML document (file extension of xml) with the currently
open XSL document (file extension of either xsl or xslt) and puts the result in another window.
Before executing the transformation, the script will prompt for values for any stylesheet-level
parameters (nodelist = /xsl:stylesheet/xsl:param).
XML Reformatter:
Updated: August 29, 2000
This will take the current XML document (in the active window) and reformat it nicely with
indentation and everything. Much thanks to Don Kackman for his great algorithm (which, incidentally,
is available on the downloads page of www.TopXML).
Homesite Regular Expression Tester:
Updated: August 17, 2000
This is a simple Homesite script which will run the Regular Expression Tester from the
RegExTools DLL (this will need to be installed).
Currently, it just runs the tester, but it will soon include the ability to highlight information in your
active document, and the script will pass that into the tester for auto-fill.
Regular Expression Tools DLL:
Updated: July 19, 2000
This is a join project with a couple other people on TopXML (Chris Stefano) to develop a generic Regular
Expression Tools library, including a GUI RegEx tester. Currently, this DLL contains a single class, clsRegExTester,
which allows you to start up the GUI tester from any COM-enabled language.
Email Active Document:
Updated: August 30, 2000
This script is used to send the active document as an email to an email address you specify.
It uses the Outlook object model, so you need to have Office installed on your computer. It shouldn't be too
difficult to port to other mail clients, as well. If you do this, I would ask that you please send me the code, so
I can integrate it into this. We could come up with a fairly robust, multiple email-supporting system.
I wasn't sure how useful this would be when I wrote it, since opening up an email and pasting the text isn't such
hard work, but I find that I use it quite often now. Hey, any saving of clicking is worth the time for lazy
programmers, eh?
Requirements: Microsoft Outlook - It has been tested in Outlook 2000, probably will work in others, too.
Goto Function:
Updated: August 9, 2000
This script is intended to mimic the Shift-F2 functionality in the Visual Basic IDE. Basically, this will inspect the
word around the cursor, and search for a function or sub that has that name. It will then scroll the editor pane to
the beginning of that method. It is pretty hacked together right now, as I don't have too much experience programming
the editor, itself.
SQL To ADO XML:
Updated: August 10, 2000
This accepts a connection string and a sql statement then returns the ADO2.5-generated XML file in a new document
in Homesite. I'll be adding some more stuff to this, but this is a fairly straightforward, rudimentary script.
If the girls at Coyote Ugly want to call me Jane Dimples, then so be it! I'm now Jane Dimples!
for more cool Homesite stuff, check out

Hey, you!
As long as you are here, why don't you subscribe to the XSLTalk discussion:
Subscribe: XSLTalk-subscribe@onelist.com
Post message: XSLTalk@onelist.com
Unsubscribe: XSLTalk-unsubscribe@onelist.com
List owner: XSLTalk-owner@onelist.com
|
News From Corey, er, Jane's World
Click here to help save the rainforests. Every click contributes towards
preservation of one of our most important natural resources.
Sitting back enjoying your Big Mac? Why not click here and help feed the
world. Every click donates free food.
Okay, I'm smitten like the rest of the world! Daljit is the bomb!

Click for Zapato's unofficial Daljit appreciation page
Okay, here is a link to my book on Amazon.com

Professional XML ASP
Buy it from this link, so TopXML can get some royalties!
Here are some articles I've written:
VB
Auto-select textbox
Wizard Walker
XML/XSLT
Summary Reports
|