IDE for XSLT stylesheets

2019-02-08 16:49发布

问题:

What is the best IDE for creating and debugging complex XSLT stylesheets?

For debugging, the ability to set breakpoints and step through the source would be great.

I am interested in all options both commercial and free.

回答1:

Editors worth checking out:

  • Visual Studio
  • Altova's StyleVision/XMLSpy
  • Oxygen
  • StylusStudio

All have their specific advantages, so just check them out. If you already have Visual Studio, I'd suggest you just getting started with this one.



回答2:

I use Visual Studio. It lets you set breakpoints (conditional or otherwise) and establish watches on whatever XPath expression you can come up with. It also supports XSLT right out the box and colours it differently than regular XML so developing in it is very easy.



回答3:

My recommendation is XMLSpy, but isn't free - http://www.altova.com/products/xmlspy/xmlspy.html

If you looking for free, you can try NetBeans - http://www.netbeans.org/



回答4:

I got a recommendation from someone here for Altova XMLSpy, and it was pretty nice for the few days I used it.



回答5:

I've been happy with using XML Cooktop for light XSL development. It's free and has been fairly reliable for me.



回答6:

XML Spy is the best I've used, without question. But it's very expensive.

I think XSLT debugging and single-stepping is really overrated. Granted, when I started using XSLT there were no debuggers, so I might just be identifying with my torturers here. But the same things that make writing XSLT often feel as difficult as driving a car while wearing a straitjacket (e.g., variables don't) also make using a debugger not a whole lot more useful than the insert-print-statement paradigm.



回答7:

I recommend Liquid Studio.

For XSLT transformations you can even go for their quite functional Community Edition. It lacks many features present in commercial editions like:

  • Diagram View
  • Graphical View
  • Web Services Tools
  • XPath Tools
  • Debuggers
  • Refactoring
  • XML Schema Documentation and XML Document Generator
  • Visual Studio Extension
  • XML Differencing, etc.

BUT still Community Edition is cool enough as an editor for XML (WSDL, XSLT, XQuery, DTD, CSS, XDR, XML Schema, JSON) with:

  • Autocompletion (based on schema)
  • Code colouring
  • Collapsible sections
  • Spellchecker (grammar and XML validation)

Community edition also starts as a 15-days trial so you can evaluate those paid features before deciding on edition.

If you really need XSLT debugging then your option would be XML Editor Edition. Though Community Edition still allows for smooth transformations while being able to work with source, target and style files in the same IDE.

You can find more details here.

Hope this helps.



标签: xml xslt ide