Issue 3404 - Output to XML
Summary: Output to XML
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 641
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: falko.tesch
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-08 11:25 UTC by osavill
Modified: 2004-01-27 15:21 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description osavill 2002-03-08 11:25:10 UTC
I beleive that OO stores a form of XML in its .sxw files. I would be excellent 
if OO could save as XML (.dtd, .xml etc.). This would then give the ability 
to store documents in such things as Continuus (or even, in hushed tones, 
Visual Source Safe) in a way that would enable version control.
Comment 1 stefan.baltzer 2002-03-12 09:05:52 UTC
Reassigned to Éric.
Comment 2 eric.savary 2002-03-12 11:07:57 UTC
ES->OSavill: sxw is a zip file containing the xml files and other 
elements. what would you do with embedded objects if the files were 
not packed this way?
ES->FT: an option to output to plain text?
Comment 3 openoffice 2002-03-12 12:36:04 UTC
The flat XML filter component (used e.g. for API documentation)
already provides this. I don't think this behaviour should be enabled
by default; due to the performance constraints, and due to it
establishing an realted, but alternative file format.

The flat filter is part of the ODK examples, and I also think a
compiled version is available on the OOo website, but I don't know where.

dvo->OSavill: Please look around the OOo site for the 'flat' filter. I
think it was discussed in dev@api and dicuss lists some months ago.

Comment 4 osavill 2003-09-15 17:28:40 UTC
The `Flat XML' filter made it into 643 but has now been removed. It
would still be nice for code repository tools if this was re-instated.
I realise the .sxw has the DTD and the XML in it, but it has posibly
more than required sometimes. I would suggest `Flat XML' could be
re-introduced such that the base DTD is in-line encoded at the top of
the document. This could lead to really nasty documents but it is up
to the user if they want to persue this avenue as opposed to the .sxw
route. Also the .sxw is zipped. This might not always be convenient to
users. Another alternative would be to do a save option which said `do
not zip this into a .sxw file but simply save all the components of
the .sxw file to disk'. Fun to reload ;-)
Comment 5 falko.tesch 2003-10-15 14:01:02 UTC
Just write a filter that unzips the OO.o document files and store the
data to a directory of your tastes.
Comment 6 falko.tesch 2003-10-15 14:01:17 UTC
Closed
Comment 7 h.ilter 2004-01-27 15:21:52 UTC
*** Issue 24813 has been marked as a duplicate of this issue. ***