Re: Xhtml with XForms export from OOo2.0 beta
Lars Oppermann <[email protected]> Wed, 10 Aug 2005 10:10:52 +0200
| Newsgroups | gmane.comp.openoffice.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
Hi László, Your interest is much appreciated. Have you had a look at the XHTML XSL transformations, that are already part of the filter project? They lack any support for XForms and they are not even updated to OpenDocument 1.0 yet, but they should be worth a look nevertheless, since they provide some guidelines on how to handle the OpenOffice XML in XSL László Meskó wrote: > I'd like to create (x)html file using XForms inside in it. I'd like to > use OOo as the editor for the xforms model and form controls. > I think issue 47549 is about this area, but is seems yet no solution > I think I can write an xsl what transforms the content.xml into a simple > xhtml document with xforms controls. I am not sure, whether just exporting the form part will suffice. Would the user need to recreate everything else, that's in the document? > How to deal with the document text content? I think I'll skip it, and > only form controls will be exported. As stated above. I would think, that as much of the content as possible should be preserved. The existing XSL scripts show how it is done. > As I see, there is no solution for <xforms:repeat>, <table > repeat-nodeset> and <switch>/<case>. > I need a workaround for this. While Office has no support for repeatable, you could create a workaround, that uses a specific style name to tag a repeatable section. Your XSL could then handle that style accordingly and generate the real repeatable elements. Be sure to build this in a way, that can be replaced/taken-out once OpenOffice has real repeatable support. Bests, ~Lars -- Lars Oppermann <[email protected]> Sun Microsystems Inc. Software Engineer - StarOffice http://www.sun.com/staroffice