views:

1725

answers:

8

Other than Visual Studio, what tool have you found best to create, edit, maintain, and possibly debug your XSLT files?

I work on a fairly big project and we have tons of XSLT files and they have grown quite complex in their implementation.

The language seems so brittle. It would be nice to navigate and identify errors more quickly.

+4  A: 

Liquid XML Studio is pretty good at real-time interpretation of your XPATH queries.

Cooktop also lets me run my XPATH queries and shows me the XML and HTML generated by running the XSLT against a given XML.

Also, a colleague tells me that newer versions of Adobe Dreamweaver allows you to associate an XML file with an XSLT file and run the transformation.

Whenever possible i use Subversion for change-tracking.

And for navigation, i most often use VIM (or VIEmu) and sometimes a custom Visual Studio extension that builds an index of the current document's xsl:template and xsl:variable nodes to provide one-click navigation to the root entries.

David Alpert
+1  A: 

In my shop we use, Altova Xml spy.

questzen
+9  A: 

I've had good results using Oxygen for XSLT debugging, XPath building, and general XML stuff.

Danimal
I second the oxygen recommendation. Pros: Good integration with several XSLT 1.0 and 2.0 implementations (MSXSL, Xalan, Saxon), very customizable, cross platform, intellisense. Cons: It freezes up more than my other apps do (I use Windows).
James Sulak
+1  A: 

I've actually been doing some of this myself recently, and I find that if you're a .NET developer, Visual Studio actually has pretty fair support built right in for xslt files.

Joe Morgan
A: 

I used to use a tool called Xselerator from Marrowsoft. You can find trial versions floating around the internet but they seem to have gone out of business so you can't buy it anymore. It was a great tool.

Darrel Miller
I uses to use Xselerator, but then switched to oXygen.
jelovirt
A: 

I also use Xselerator. As mentioned, one day it just disappeared from the internet. Luckily I licenced it before then.

Richard A
+1  A: 

In addition to Visual Studio's natural abilities here (I think the debugger is particularly strong), there's also a profiler add-in: http://code.msdn.microsoft.com/xsltprofiler.

fatcat1111
+2  A: 

An unlocked free version of Xselerator is available at [http://sourceforge.net/projects/xselerator/][1]. It's version 2.6.3, which is later than the licensed version that I was using. I use it frequently, and find it superior to the other products that I have tried. There are more feature-rich tools, but the UI tends to be cumbersome and inflexible - or too flexible, meaning that the learning curve is too high. Xselerator hits the sweet spot.

I don't know if any further revisions are planned; the SourceForge project is rather thin on details.