Subject:Do automatic fo generation (as does Altova's StyleVision) Author:Minollo I. Date:07 Apr 2005 10:19 PM
What we like in the XML-to-HTML WYSIWYG Stylus Studio approach is that it provides two-way editing for XSLT: you can create XSLT that converts XML documents into HTML by using the WYSIWYG view, but you can also switch back to XSLT source and do other changes to the source directly, and come back to the WYSIWYG view and do more and so on. So, our WYSIWYG editor doesn't lock you in a specific view, but it provides a two-way editing metaphor between XSLT source and HTML WYSIWYG.
Another approach, like StyleVision's, allows you to define your XML-to-"something visual" transformation in a design environment that doesn't let you do two-way editing; your visual design starts and dies in the WYSIWYG environment; once you choose to generate XSLT that implements that design to generate HTML or FO, there is no way back into the design environment if you do changes to the generated XSLT. While this approach is surely easier from an implementation point of view, we believe it doesn't let you take advantage of all the freedom and flexibility that only direct XSLT editing can provide.
That said, the idea of providing an XML-to-FO XSLT WYSIWYG editor in Stylus Studio is surely in our minds...