[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL : Another question
Hi Sanjiva, I played with BML and get a better grasp on what it is now. If I may take this comparison, it looks like a visual basic Frm file. Like you probably already know a "frm" file contains in text the form layout and also scripts for this form layout. Of course, only VB language is accepted as code :-) Your approach is potentially more flexible. We can have more than one type of script language attached to ???? a place? a form? VB call that a form, I'll look again at the doc to know how do you call that. So, BML has the potential to contains the layout and the scripts, scripts being seen as events handlers. I am still right? I am not making a point here, just trying to understand your model. About the architecture: I meant in fact, not an architecture like sometimes refereed in SGML (an architectural form). I meant more a DTD (in some circles, to define a DTD is to define a document architecture). So you create your XML derived language and then could get it transformed into BML and finally get it rendered in a java environment. Great, I have an alternative to AOL or Microsoft Keirustu. Let me give a feedback, I didn't found the applet approach so much exiting, because, we can already do quite a lot with actual DHTML implementations. However, when I tried the same examples stand alone with the Java viewer, I got really something different. I mean here a new kind of browser or more simply a potential document rendered. What's really missing now is scripts to process events. If you allow the capability to have more than one script language to run in the BML environment this is even better. Good candidates are probably Perl, tcl, python, EcmaScript. Perl, python guys did already the adaptation to ActiveScript interfaces, they could do an adaptation to you environment with the right interfacing mechanism. When we talked about that with a friend, we discovered that a major advantage of BML could be to define a "form" (let's call it that way until I get your terminology) in one environment and be able to re-use the same "form" in another, even if I change the script I still re-use the layout. This is not the case today. Hope that BML will get more accepted in the community. Didier PH Martin mailto:martind@xxxxxxxxxxxxx http://www.netfolder.com > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sanjiva Weerawarana > Sent: Friday, November 27, 1998 3:37 PM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: Re: XSL : Another question > > > Didier PH Martin writes: > >Thanks a lot for the link, it is an alternative to strict browser > >environment XSL usage. If y understand you well, what you do is: > > > >a) have your own document architecture and implement it with XML format > >b) documents created with this architecture are then: > > 1 - transformed with XSL into an other XML based language: BML > > 2 - The BML document is then interpreted by a BML player. > > > >Am I right? If that is the case, the BML player is then an alternative > >renderer. It seems that this fits the concept of "transportable places" > >advocated by Orfali & al. > > Your point (a) is not right - BML doesn't define a document architecture > (if I understand you correctly). BML is analogous to the FOs; its a > "JavaBean FO language" in some sense. All it assumes is a bean, so its > a lower level set of FOs than the XSL FOs are. Any Java object can be > created and manipulated using BML. > > You can take any XML and render it by translating it to an appropriate > BML document - just like how you can take any XML and render it by > translating it to an appropriate HTML document. > > Yes, in some sense its an alternative renderer; if you want to consider > creating a UI as rendering. Its not a total alternative though; by > using the Java Plug-In from Sun you can embed the player in both the > browsers and play arbitrary BML files. In other words, you can "render" > to Java just as easily as you can render to HTML - in one case you use > HTML components, in the other Java components. BML doesn't support > scripting yet, but we're working on it .. then DBML will allow you to > use say JavaScript scripts to define event handlers etc.. > > Sanjiva. > ------------------------------------------------------------------ > ------------ > Sanjiva Weerawarana, Ph.D. email: > sanjiva@xxxxxxxxxxxxxx > Research Staff Member tel: +1 914 784 > 7288 t/l 863 > IBM TJ Watson Research Center fax: +1 > 914 784 6324 > Hawthorne, NY 10598, USA. url: > http://lanka.watson.ibm.com/~sanjiva > > ------------------------------------------------------------------ > ------------ > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|