[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Microsoft Hypes Up XUL As The Greatest ExpirimentSince Ada


philadelphia expiriment
Hi Emmanuil, 

On Wed, 2003-10-29 at 10:21, Emmanuil Batsis (Manos) wrote:
> Oleg Tkachenko wrote:
> > Moreover I wonder if XUL2XAML transformation is possible?
> 
> Now that's worth a thought or two. Most of us will probably need to make 
> this work at some point. As Elliotte Rusty Harold points out, XUL uses 
> CSS and although I disagree with him on the XML attributes VS CSS issue, 
> he's right on the need for a CSS parsing module.
> 
> Although I'm not sure on whether a 100% mapping is possible between the 
> semantics of the two languages, a transformer shouldn't be that 
> difficult using SAX and a SAC [1] parser to handle CSS when going from 
> XUL to XAML.

As mentioned in my answer to Elliotte Rusty Harold, I think that if you
want to do the conversion in the general case, the main issue isn't with
parsing the CSS syntax but with interpreting the CSS selectors which
features set is not very XPath/XSLT friendly.

The syntax by itself should be easily parseable with XSLT 2.0 reg exps.
In XSLT 1.0, it would be more verbose, but could be a nice opportunity
to use the Dimitre Novatchev's FXSL library...

My 0.02 Euros,

Eric 
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
Upcoming schema tutorial:
 - Philadelphia (7/12/2003)       http://makeashorterlink.com/?V28612FC5
Tutoriel XSLT:
 - Paris (25/11/2003)             http://makeashorterlink.com/?L2C623FC5
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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