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

RE: Use of XSLT to Transform XFORMS...

Subject: RE: Use of XSLT to Transform XFORMS...
From: "Uslu, Cihan Y (MED)" <Cihan.Uslu@xxxxxxxxxx>
Date: Wed, 19 Dec 2001 18:31:45 -0600
xforms xslt
I too would like to see that stylesheet, if it is available, I am
working something similar to what is described here.

Thanks.

-----Original Message-----
From: Jeni Tennison [mailto:jeni@xxxxxxxxxxxxxxxx]
Sent: Wednesday, December 19, 2001 5:12 AM
To: Edward Bedell
Cc: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Use of XSLT to Transform XFORMS...


Hi Edward,

> Does anybody have any experience of Transforming XFORMS XML to
> create XHTML using XSLT. Indeed is there a stylesheet available as I
> guess I am not the only person trying to do this.

I've done a partial and basic stylesheet for this for a book chapter
(the book isn't out yet, I'm afraid, and I'd need to check with the
publisher to see if I can make the stylesheet available).

XForms is pretty powerful, so I don't know how far you need/want to go
with it:

 - creating HTML equivalents of the form controls
 - creating HTML versions of captions, help, hints and so on
 - getting default values from the instance data
 - constructing new instance data as the form controls are completed
 - evaluating the XPath expressions on the xforms:bind elements to work
   out whether form controls should be relevant/required etc.
 - using the XML Schema information to validate the values input on
   the form fields
 - interpreting the xforms:action elements to add event handlers to
   the form controls

I only got as far as the first couple of steps (the easy ones!), but
have ideas about how to achieve the rest (using MSXML4, though
actually it would probably be possible with Xalan/Saxon and Xerces as
well), which I'd be happy to discuss.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.