XML2ODF - Online Linux Manual PageSection : 1
Updated : 03/15/2009
Source : odfpy
Note : User commands

Namexml2odf − Create ODF package from OpenDocument in XML form

Synopsis.fam C xml2odf [−o outputfile] [−s] [inputfile] .fam

DescriptionOpenDocument can be a complete office document in a single XML file​. The script will take such a document and create a package​. This is mainly useful as a postprocesser of a program producing XML, such as a stylesheet​. Inputfile is assumed to be an OpenDocument file in XML form​. If there is no inputfile, the program will read from standard input​. The flag −s adds correct suffix to the filename according to what mime type is found in the XML file, in cause you don´t know already what document type you are packaging​. If output file is not specified output will be to standard out​. Section 2​.1​.1 of Open Document Format for Office Applications says that the [content​.xml] file contains the document content, along with the automatic styles needed for the document content​. The [styles​.xml] file contains all the named styles of a document, along with the automatic styles needed for the named styles​. The application doesn´t know which automatic style is needed for what, so it puts the same set of automatic styles into both files​. One could assume that the inverse operation would be easier, but OpenOffice​.org is quite happy to use the same names for two different automatic styles​. For instance, a style used inside <style:footer> can have the same name as one used inside <office:text> but be a different paragraph style​. This is reported as bug #90494 (http://www​.openoffice​.org/issues/show_bug​.cgi?id=90494)

Example.fam C ¶.nf

See Alsoodftools(1), odf2xml(1)

BugsDoesn´t handle external data −− images and such​. The library used for the parsing of XML expands empty elements from <element/> to <element></element>​. It should not have an effect on the document parsing​.

AuthorSøren Roug Original author
0
Johanes Gumabo
Data Size   :   7,088 byte
man-xml2odf.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 200,387
Visitor ID   :     :  
Visitor IP   :   3.145.37.211   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|xml2odf.1|172|fam|.fam C )         (parse_manual_page_|249|xml2odf.1|175|fam|.fam )         (parse_manual_page_|249|xml2odf.1|200|fam|.fam C )         (parse_manual_page_|249|xml2odf.1|206/100|gcolor|.gcolor red )         (rof_unit_scale_px|41|xml2odf.1|210/105/210/106/210/107|ng-newline"adjust-for-leading-newline"|.if "adjust-for-leading-newline"adjust-for-leading-newline" ══─{─══.sp -1 )         (rof_if|19|xml2odf.1|210/105/210/106/210/107|adjust-for-leading-newline"adjust-for-leading-newline"|.if "adjust-for-leading-newline"adjust-for-leading-newline" ══─{─══.sp -1 )         (parse_manual_page_|249|xml2odf.1|210/108|══─}─══|.══─}─══ )         (parse_manual_page_|249|xml2odf.1|210/113|gcolor|.gcolor )         (rof_nr_xx|137|xml2odf.1|210/114|\n(.i |.nr BW \\n(.lu-\\n(.i )         (rof_nr|67|xml2odf.1|210/114|1872*1-\*24(.*240|.nr BW \\n(.lu-\\n(.i )         (rof_nr_xx|137|xml2odf.1|210/115|\n(dn+.5v |.nr BH \\n(dn+.5v )         (rof_nr|60|xml2odf.1|210/115|dn+.5v|.nr BH \\n(dn+.5v )         (rof_nr_xx|137|xml2odf.1|210/116|\n(BHu+.5v |.ne \\n(BHu+.5v )         (rof_unit_scale_px|41|xml2odf.1|210/117/210/118|ng-newline"adjust-for-leading-newline"|.ie "adjust-for-leading-newline"adjust-for-leading-newline" ══─{─══\M[lightgray]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] )         (rof_if|19|xml2odf.1|210/117/210/118|adjust-for-leading-newline"adjust-for-leading-newline"|.ie "adjust-for-leading-newline"adjust-for-leading-newline" ══─{─══\M[lightgray]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] )         (parse_manual_page_|249|xml2odf.1|210/119|══─}─══|.══─}─══ )         (rof_escape_sequence|91|xml2odf.1|210/120/210/121|\M[lightgray]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] |\M[lightgray]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] )         (parse_manual_page_|249|xml2odf.1|210/126|BX|.BX )         (rof_fi|19|xml2odf.1|214|1|.fi )         (parse_manual_page_|249|xml2odf.1|215|fam|.fam )         (htmlprn|149|xml2odf.1|219|
.gcolor red ÷.══─}─══ xml2odf −o testdocument −s xml−file .if "adjust-for-leading-newline"adjust-for-leading-newline" ══─{─══.sp -1| )