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

RE: statically known namespaces

Subject: RE: statically known namespaces
From: "Jacoby, Peter R." <PJACOBY@xxxxxxxxxxxx>
Date: Mon, 10 Jul 2006 12:24:47 -0400
editplus templates
> But the definition doesn't have to be global.  It can be per-project,
> or per-XML language, or per-directory, or based on regexps on the file
> name or on the state of the moon (but some functionalities can depend
> on your editor's capabilities).

I use Edit Plus (www.editplus.com) for my XSLT work and it has a great
of being able to define a template for any file extension.  It's not quite as
good as configurable options for namespaces, but it works great for me.  So
I ask for a new .xsl file, instead of a blank page, I start with this:

<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
<xsl:output method="xml" omit-xml-declaration="no" indent="yes"

<xsl:template match="/">
	<xsl:apply-templates select=""/>

<xsl:template match="">



and the cursor is moved to between the quotes of the select attribute of the
first template.  This way I don't have to remember the XSLT namespaces and
output attributes that I usually start with are pre-set.

The tool also allows me to type
which automatically gets expanded to
<xsl:apply-templates select="">
	<xsl:with-param name="" select=""/>
and hundreds of other text replacements like this so I never have to type

You can predefine any text replacements which has been a great way to
the tool to how I use the language.  It doesn't do intellisense which would
nice sometimes, but isn't usually necessary.

I also have a .xslfo template and text replace rules set up for the small
of XSL-FO work I do.


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.