OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

how to use OOo to convert to xml (Docbook)?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
wishbone
General User
General User


Joined: 31 Mar 2003
Posts: 6

PostPosted: Mon Mar 31, 2003 4:41 pm    Post subject: how to use OOo to convert to xml (Docbook)? Reply with quote

Hi,
I'm trying to use OOo to convert msword documents into xml with Docbook's DTD.

The beta version promises this but is a bit lite on the documentation. Any pointers would be appreciated.

thanx. wishbone.
Back to top
View user's profile Send private message
bartgymnast
OOo Enthusiast
OOo Enthusiast


Joined: 05 Feb 2003
Posts: 187
Location: Almere, Netherlands

PostPosted: Mon Mar 31, 2003 11:02 pm    Post subject: Reply with quote

you mean documentation for Docbook DTD???
_________________
If you jump to the otherside of the galaxy,
It is still not the END.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
wishbone
General User
General User


Joined: 31 Mar 2003
Posts: 6

PostPosted: Tue Apr 01, 2003 3:30 pm    Post subject: Reply with quote

I'm trying to use the beta version to import a word document and then export it to XML using the DocBook DTD.

Quoting the OOo homepage:

Quote:
Many new import/export formats such as PDF, Macromedia Flash, DocBook, several PDA Office file formats, flat XML and XHTML


Unfortunately I've found no information or means to do this. Rolling Eyes
Back to top
View user's profile Send private message
wishbone
General User
General User


Joined: 31 Mar 2003
Posts: 6

PostPosted: Tue Apr 01, 2003 9:56 pm    Post subject: Reply with quote

My goal is to set up an xml content management system based on the DocBook DTD so that I can produce various flavours of documentation, ie. User Guides, Training etc... - both online and offline, using one source : xml files.

To complement this goal I am looking for an easy way for people to be able to contribute content and if the new OO Beta version delivers on the promise to export docbook/xml then hopefully it would be easier to convert these people over as opposed to learning something like XMLSpy or Xmetal.

So far I am very impressed with OO and compliments to the community .... Smile
Back to top
View user's profile Send private message
apostle
General User
General User


Joined: 03 Apr 2003
Posts: 6

PostPosted: Thu Apr 03, 2003 12:23 am    Post subject: Me to Reply with quote

I have been VERY happy with OOo since the pre 1.0.0 days. As a company we are trying to move to a Docbook based system to help with version continuity problems. An engineer would write a manual for product x. Then product y would come along. To make life easier the engineer would cut and paste content from one manual to the next. A little while later an error would be found in manual x. Then, unless the engineer remembered, manual y wouldn't be updated as well. Doh.

Moving to an xml based environment allows us to have manuals that are automatically "made" everytime source documents are changed. Hence all manuals that contain certain source modules can automatically be published to PDF, HTML etc, hence ensuring one change is propagated to all target documents.

Engineers don't like raw xml/sgml. Let's face it who does. I have been looking at OOo as a GUI "frontend" to editing these document modules. The "promise" of 1.1 being able to output/input Docbook files is of great interest to me. I have downloaded and installed it, however I can't seem to find any docs on how to use Docbook. There is certainly a docbook.jar in the filters directory, but no such option in the open ar save as dialogs. Can anyone out there help me find out how to do it. The old online documents don't appear to bear any relation to the new version of the software.

Many thank.

Mark.
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Apr 06, 2003 5:38 pm    Post subject: Try this link for Docbook info Reply with quote

Haven't tried it myself - but it looks promising....

http://xml.openoffice.org/xmerge/docbook/
Back to top
wishbone
General User
General User


Joined: 31 Mar 2003
Posts: 6

PostPosted: Mon Apr 07, 2003 4:04 pm    Post subject: Reply with quote

Thanx for the url.

I'll now have a play but as indicated under limitations it may be difficult to map Word/OO styles to specific docBook elements. xICE from turnkey.com.au does this for Word using a rules base.
Back to top
View user's profile Send private message
Andreas Bovens
Guest





PostPosted: Tue Apr 08, 2003 4:47 am    Post subject: xslt stylesheet for conversion to docbook xml Reply with quote

The Openoffice.org docbook page mentions Eric Bellot's OOo2sdbk, which is pretty good.
Here's an easier way to use OOo2sdbk.
- Install the Flat XML filter (howto?)
- Download Eric Bellot's xslt stylesheet from http://japanology.arts.kuleuven.ac.be/andreas/ooo2sdbk.xsl (Eric Bellot's link to a zipped version of his stylesheet doesn't seem to work)

- save the sxw-file you want to convert as Flat XML.
- convert the Flat XML file into Docbook XML by use of the stylesheet (and a parser, e.g. MSXML or Saxon).
Back to top
Guest






PostPosted: Wed Aug 20, 2003 8:38 am    Post subject: Reply with quote

wishbone wrote:
My goal is to set up an xml content management system based on the DocBook DTD so that I can produce various flavours of documentation, ie. User Guides, Training etc... - both online and offline, using one source : xml files.

To complement this goal I am looking for an easy way for people to be able to contribute content and if the new OO Beta version delivers on the promise to export docbook/xml then hopefully it would be easier to convert these people over as opposed to learning something like XMLSpy or Xmetal...

So far I am very impressed with OO and compliments to the community .... Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group