XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Donald JonesSubject: Support for XUL/XBL/CSS
Author: Donald Jones
Date: 20 Jun 2005 10:33 AM
I have been very impressed with the Stylus application, but am dismayed that it cannot open files supporting XUL or XBL.

e.g. .xul files

Instead I get the error:
The file <file> is not a Convert-to-XML Definition file, but some other XML format.

As a minimum it would be good to be able to load XUL files into your editor to at least allow check that they are XML well-formed.

It would be even better if your tool can provide the same level of integration between XUL/XBL/CSS with Firefox previewing support, as it already does with XML/XSLT/XSD.

Alternatively is there another tool available which provides this?

Tony LavinioSubject: 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
Mozilla Foundation.

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.

Donald JonesSubject: 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

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.