Page 1 of 1

xquery formatter

Posted: Thu Jun 15, 2006 11:53 am
by jmr
i am currently evaluating oXygen. I am quite happy with the query editor but i haven't found a formatter aka pretty printer. Did I just miss it? Is it a planned feature?

Posted: Thu Jun 15, 2006 5:19 pm
by sorin_ristache
Hello,

A pretty printer is not available for XQuery files. Such a file is not well-formed XML content so an XQuery pretty printer should add special formatting rules to the rules available and configurable for well-formed XML content (Options -> Preferences -> Editor -> Format -> XML). It is an enhancement for a future version of <oXygen/> but it will not be implemented in the short term (a couple of months). What should be configurable in this pretty-printer ?

Regards,
Sorin