Subject: RE: [xsl] XSL to ODF/OOXML From: cknell@xxxxxxxxxx Date: Fri, 27 Apr 2007 13:54:05 -0400 |
Q. "Is this just another XSL transform that requires me learning the appropriate output schema ..." A. Yes. There's a big red flag here. I used to have a group of customers who would want some software modified and always started by saying, "Well can't you just ...?" I would tell them I could do anything they asked for, but I couldn't "just" do anything they asked for. In fact, my wife still works there, and if one or the other of us uses the word "just" in conversation, it' guaranteed to cause a smirk. Q. "I'm wondering if I can use the XHTML output as my source XML and have one stylesheet that converts all of my documents into the appropriate format?" A. Yes, but it would be one big --expletive deleted-- stylesheet. You would probably save yourself a fortune in psychotropic prescription drugs to create one stylesheet for each general type of document. "export to Word" covers a lot of ground. Don't be surprised to the public has Word95, Word97, Word2000, WordXP and Word2005. If you tell them you will "export to Word", you may be setting yourself up for a real tour de force of juggling to keep all these balls in the air. Not all of these can read an XML format. On the other hand, if your audience is internal to your organization, you may be able to limit your conversion to a few of these. I have had some success in using XSLT to convert XML to RTF, which all of these versions of Word can read. The price is that some of the more exotic MS Word features can't be represented in RTF. You ought to start off with the ECMA standard document: http://www.ecma-international.org/news/TC45_current_work/TC45-2006-50_final_draft.htm -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: Steve <subsume@xxxxxxxxx> Sent: Fri, 27 Apr 2007 13:11:55 -0400 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] XSL to ODF/OOXML I'm scouring the internet looking for leads on creating ODF/OOXML with XSL transforms. I'm not really finding a whole lot, other than command line programs which accomplish as much. I have a website with lots of reports and, ideally, I'd like to have an 'export to Word' feature. Is this just another XSL transform that requires me learning the appropriate output schema or is there something additional that needs to be done? Also, I already have HTML versions of the reports I need (nothing too complicated). I'm wondering if I can use the XHTML output as my source XML and have one stylesheet that converts all of my documents into the appropriate format? Or am I reaching for the philosopher's stone too soon? I'm using XSL 1.0 and MSXSL parser. -S
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL to ODF/OOXML, Steve | Thread | Re: [xsl] XSL to ODF/OOXML, Joe Fawcett |
[xsl] xsl:for-each-group: start gro, Yves Forkl | Date | Re: [xsl] XSL to ODF/OOXML, Joe Fawcett |
Month |