You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Ibrahim Can <ib...@gmx.ch> on 2004/04/13 12:01:36 UTC

Word-Doc to XML

Hello

Does anybody know, how to convert a word-document to the right xml-format for 
lenya? I tried it with ms office 2003 (just saved a word-document as a xml-
file), but it doesn't work!

Thanks.

Ibrahim


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Ibrahim Can wrote:

> sorry... but under this link (http://www.gotdotnet.com/team/dbox/default.aspx?
> key=2004-01-03T08:24:34Z) i get a blank page! is there an other possibility to 
> get an office specific xslt file for lenya?

http://www.microsoft.com/downloads/details.aspx?FamilyId=D5DCF263-8E19-4054-B599-70371B6CC2B4&displaylang=en

again, you need to tweak it. some namespaces have changed

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Ibrahim Can <ib...@gmx.ch>.
sorry... but under this link (http://www.gotdotnet.com/team/dbox/default.aspx?
key=2004-01-03T08:24:34Z) i get a blank page! is there an other possibility to 
get an office specific xslt file for lenya?

thanks.

ibrahim


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
Michael Wechner said:
> sure, you can do that, but in order to "see" anything you need to pipe
> it through
> an Office specific XSLT

there is an older one floating around at microsoft, and don box wrote a
newer one. i'll inquire if he's willing to release it under favorable
terms :)

http://www.gotdotnet.com/team/dbox/default.aspx?key=2004-01-03T08:24:34Z

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Michael Wechner <mi...@wyona.com>.
Ibrahim Can wrote:

>sorry...i don't really understand what you mean with setting the namespaces 
>correctly!:-) do i have do write a new xslt?! 
>

yes, because Office is generating a specific XML and hence you need a 
specific XSLT

>my idea was, to save the word 
>documents as xml-files and then put them in my publication in the autoring 
>folder, is that possible?
>  
>

sure, you can do that, but in order to "see" anything you need to pipe 
it through
an Office specific XSLT

Michi

>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Ibrahim Can <ib...@gmx.ch>.
sorry...i don't really understand what you mean with setting the namespaces 
correctly!:-) do i have do write a new xslt?! my idea was, to save the word 
documents as xml-files and then put them in my publication in the autoring 
folder, is that possible?



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Michael Wechner <mi...@wyona.com>.
Ibrahim Can wrote:

>Lenya doesn't like the XML which Office generated, I get a blank page!
>  
>

I guess your XSLT doesn't match correctly. What about having set the 
correct namespaces?

>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Ibrahim Can <ib...@gmx.ch>.
Lenya doesn't like the XML which Office generated, I get a blank page!


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Word-Doc to XML

Posted by Michael Wechner <mi...@wyona.com>.
Ibrahim Can wrote:

>Hello
>
>Does anybody know, how to convert a word-document to the right xml-format for 
>lenya? I tried it with ms office 2003 (just saved a word-document as a xml-
>file), but it doesn't work!
>  
>

what exactly do you mean with it didn't work? Office didn't save an XML 
file?
Or Lenya doesn't like the XML which Office generated?

btw, do you know

http://www.oscom.org/projects/wordxml/

Michi

>Thanks.
>
>Ibrahim
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org