Subject:Support for XUL/XBL/CSS Author:Tony Lavinio Date:21 Jun 2005 08:48 AM
You can do well-formedness checking, if you tell Stylus Studio
that the XUL and XBL extensions are also XML files.
Go to Tools|Options|File Types. Or, you can use File|Open, and on
the [Open] button there is a drop-down that you can use to tell it
to open with the XML Editor.
As for previewing XUL/XBL within Firefox, it would probably also
require integration with the Rhino JS engine for proper debugging.
Perhaps you'd like to elaborate on exactly what you'd expect? Just
a simple preview of documents in Firefox, though, would have some
value, we agree, and we are already investigating that.
Also, do you know if there are schemas for XUL or XBL that match
what is currently implemented? XBL has been submitted to the W3C,
but that was back in 2001. XUL as far as I know, hasn't been, and
the only schema I've seen was copyrighted by someone other than the
Stylus Studio is an XML environment, and CSS is a little bit outside
of our scope; perhaps we'll expand in that direction in the future
but we have no immediate plans.
Subject:Support for XUL/XBL/CSS Author:Donald Jones Date:21 Jun 2005 12:38 PM
Thanks for your input about the file types. That has got me started using your IDE for .xul files.
I have a task where my starting point is a chrome installation of an XUL project.
It would be very useful to be able to build a project based on the XUL directory structure, which can give me a graphical overview of the XUL components and how they map back to the widgets defined in XBL files and check for language support in the DTD files.
I imagine my ideal would be an app like dreamweaver which treats the chrome installation as a website and allows you to perform basic checking:
- identify any dead links.
- generate dependency graph/site map
I realise that this is far over and above what you currently provide, but with growing interest in declarative UIs possibly using XUL and later SVG, it may be something that you want to consider expanding into