views:

30

answers:

1

I need a tool for reformatting (indenting, long line split) of xquery scripts. My script started very small but now is almost 4000 lines long and quite messy and needs refactoring. Can someone help?

A: 

You might want to try Stylus Studio's XQuery Tools - they have a free trial download:

http://www.stylusstudio.com/xquery_editor.html

Stylus Studio® is the first and only XML IDE to include a full featured, integrated XQuery Editor.

alt text

Ray Muirhead
I am accepting your answer for there isn't any better here. I tried Stylust Studio, it can format the XQuery but the results were quite unsatisfactory.
danatel
Maybe you'll have to do it the old fashioned way ;-). That is, by hand, or writing a script to format it ...
Ray Muirhead