Login | Register
My pages Projects Community openCollabNet

Discussions > issues > XSL transformations (was: XSL-FO stylesheets for PDF)

cowiki
Discussion topic

Back to topic list

XSL transformations (was: XSL-FO stylesheets for PDF)

Author Mats Gefvert <mats at visionutv dot se>
Full name Mats Gefvert <mats at visionutv dot se>
Date 2005-04-28 12:40:01 PDT
Message Paul,

While we're talking about XSLT (or XSL? I dunno), another thought struck me.
I had a phone conference today with my dearly beloved boss, God bless him
(before I kill him and bury him), and he talked about a disadvantage with a
Wiki system: It isn't available offline. He spends a lot of time on trains
and in hotels and that will be a problem to him.

So a wild idea was born in me today, after I regrouped from the initial
depression. Word can work with documents in it's proprietary WordML format,
which I looked up and it's a strictly defined XML format.

Wouldn't it be possible, thus, to create a document in Word (with Header 1,
Header 2 etc), save it in XML format, and then in the CoWiki document editor
have an Upload button, which will take the XML/WordML file, apply XSLT
transformations to it to produce a well-behaved CoWiki document, and save
it? The same would be true for the reverse, that from a CoWiki document you
could easily, using XSLT, download a WordML document which will be editable
locally. Using PHP's built-in XSL/DOM objects, it would literally be a piece
of cake, as long as you have a finely tuned XSL stylesheet.

That would solve my problems (at least some of them :) ) and would go along
with what we're already talking about.

Just for information, a very good document about WordML can be found here:
http://rep.oio.dk/Mi​crosoft.com/officesc​hemas/wordprocessing​ml_article.htm

Short recap of the document above: The shortest possible WordML document is
something like this:

<?xml version="1.0"?>
<w:wordDocument
   xmlns:w="http://schemas.micro​soft.com/office/word​/2003/wordml">
<w:body>
      <w:p>
         <w:r>
            <w:t>Hello, World.</w:t>
      </w:r>
   </w:p>
</w:body>
</w:wordDocument>

Using XSLT, it would be a snap (well, almost anyway :) ) to transform it
into CoWiki XML.

It would probably give CoWiki a certain edge in the market, too :)

regards
Mats Gefvert
Software Developer, Visionutveckling AB

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

XSL transformations (was: XSL-FO stylesheets for PDF) Mats Gefvert <mats at visionutv dot se> Mats Gefvert <mats at visionutv dot se> 2005-04-28 12:40:01 PDT
     Re: [cowiki-issues] XSL transformations (was: XSL-FO stylesheets for PDF) sy_ali Sy Ali 2005-04-29 13:02:57 PDT
     Re: [cowiki-issues] XSL transformations (was: XSL-FO stylesheets for PDF) "M dot Bostrom" <mpb dot mail at gmail dot com> "M dot Bostrom" <mpb dot mail at gmail dot com> 2005-04-29 13:18:58 PDT
         Re: [cowiki-issues] XSL transformations (was: XSL-FO stylesheets for PDF) PAUL HANCHETT <paulha at aracnet dot com> PAUL HANCHETT <paulha at aracnet dot com> 2005-04-29 17:37:20 PDT
             Re: [cowiki-issues] XSL transformations (was: XSL-FO stylesheets for PDF) sy_ali Sy Ali 2005-04-30 06:36:56 PDT
Messages per page: