1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--***********************************************************************
5*cdf0e10cSrcweir *
6*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * This file is part of OpenOffice.org.
13*cdf0e10cSrcweir *
14*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
15*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
16*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
17*cdf0e10cSrcweir *
18*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
19*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
20*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
22*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
23*cdf0e10cSrcweir *
24*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
25*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
26*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
27*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
28*cdf0e10cSrcweir *
29*cdf0e10cSrcweir ************************************************************************--><helpdocument version="1.0">
30*cdf0e10cSrcweir<meta>
31*cdf0e10cSrcweir<topic id="textshared0106150120xml" indexer="include" status="PUBLISH">
32*cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Transformation</title>
33*cdf0e10cSrcweir<filename>/text/shared/01/06150120.xhp</filename>
34*cdf0e10cSrcweir</topic>
35*cdf0e10cSrcweir<history>
36*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
37*cdf0e10cSrcweir<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
38*cdf0e10cSrcweir</history>
39*cdf0e10cSrcweir</meta>
40*cdf0e10cSrcweir<body>
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir
43*cdf0e10cSrcweir  <paragraph id="hd_id3147477" role="heading" level="1" oldref="21" l10n="U" xml-lang="en-US"><variable id="transformation"><link href="text/shared/01/06150120.xhp" name="Transformation">Transformation</link></variable></paragraph>
44*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3154350" xml-lang="en-US" oldref="1"><ahelp visibility="visible" hid="">Enter or edit file information for an <link href="text/shared/01/06150000.xhp" name="XML filter">XML filter</link>.</ahelp></paragraph>
45*cdf0e10cSrcweir  <section id="howtoget">
46*cdf0e10cSrcweir  <embed href="text/shared/00/00000406.xhp#xmlfilteredit"/>
47*cdf0e10cSrcweir</section>
48*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_DOCTYPE" xml-lang="en-US" id="bm_id3148731"/><paragraph role="heading" level="2" id="hd_id3148668" l10n="U" xml-lang="en-US" oldref="2">DocType</paragraph>
49*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3155934" xml-lang="en-US" oldref="3"><ahelp hid="HID_XML_FILTER_DOCTYPE" visibility="visible">Enter the DOCTYPE of the XML file.</ahelp></paragraph>
50*cdf0e10cSrcweir  <paragraph role="paragraph" id="par_id3148520" l10n="U" xml-lang="en-US" oldref="4">For example, the DOCTYPE defined for the current DocBook XML filter is:</paragraph>
51*cdf0e10cSrcweir  <paragraph role="paragraph" id="par_id3155364" l10n="U" xml-lang="en-US" oldref="5">-//OASIS//DTD DocBook XML V4.1.2//EN</paragraph>
52*cdf0e10cSrcweir  <paragraph role="paragraph" id="par_id3145829" l10n="U" xml-lang="en-US" oldref="6">The resulting line in the XML document is:</paragraph>
53*cdf0e10cSrcweir  <paragraph role="paragraph" id="par_id3152594" l10n="U" xml-lang="en-US" oldref="7">&lt;!DOCTYPE article PUBLIC &quot;-//OASIS//DTD DocBook XML V4.1.2//EN&quot; &quot;http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd&quot;&gt;</paragraph>
54*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_DTD" xml-lang="en-US" id="bm_id3149346"/><paragraph role="heading" level="2" id="hd_id3149180" l10n="U" xml-lang="en-US" oldref="8">DTD</paragraph>
55*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3153394" xml-lang="en-US" oldref="9"><ahelp hid="HID_XML_FILTER_DTD" visibility="visible">If you want, enter the public or system identifier of the DTD (Document Type Definition) that you want to use.</ahelp></paragraph>
56*cdf0e10cSrcweir  <list type="unordered">
57*cdf0e10cSrcweir   <listitem>
58*cdf0e10cSrcweir    <paragraph role="listitem" id="par_id3152867" l10n="U" xml-lang="en-US" oldref="10">If present, both identifiers are written to the DOCTYPE declaration in saved XML files.</paragraph>
59*cdf0e10cSrcweir   </listitem>
60*cdf0e10cSrcweir   <listitem>
61*cdf0e10cSrcweir    <paragraph role="listitem" id="par_id3155892" l10n="U" xml-lang="en-US" oldref="11">The public identifier is used to detect the filter when you open a file without specifying a filter.</paragraph>
62*cdf0e10cSrcweir   </listitem>
63*cdf0e10cSrcweir  </list>
64*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_DTD_BROWSE" xml-lang="en-US" id="bm_id3156410"/><bookmark branch="hid/FILTER_HID_XML_FILTER_EXPORT_XSLT_BROWSE" xml-lang="en-US" id="bm_id3153749"/><bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_XSLT_BROWSE" xml-lang="en-US" id="bm_id3157863"/><bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_TEMPLATE_BROWSE" xml-lang="en-US" id="bm_id3150774"/><paragraph role="heading" level="2" id="hd_id3155338" l10n="U" xml-lang="en-US" oldref="12">Browse</paragraph>
65*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3150506" xml-lang="en-US" oldref="13"><ahelp hid="HID_XML_FILTER_IMPORT_TEMPLATE_BROWSE" visibility="visible">Opens a file selection dialog.</ahelp></paragraph>
66*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_EXPORT_XSLT" xml-lang="en-US" id="bm_id3156426"/><paragraph role="heading" level="2" id="hd_id3153527" l10n="U" xml-lang="en-US" oldref="14">XSLT for export</paragraph>
67*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3152552" xml-lang="en-US" oldref="15"><ahelp hid="HID_XML_FILTER_EXPORT_XSLT" visibility="visible">If this is an export filter, enter the file name of the XSLT stylesheet that you want to use for exporting.</ahelp></paragraph>
68*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_XSLT" xml-lang="en-US" id="bm_id3151110"/><paragraph role="heading" level="2" id="hd_id3149149" l10n="U" xml-lang="en-US" oldref="20">XSLT for import</paragraph>
69*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3147653" xml-lang="en-US" oldref="16"><ahelp hid="HID_XML_FILTER_IMPORT_XSLT" visibility="visible">If this is an import filter, enter the file name of the XSLT stylesheet that you want to use for importing.</ahelp></paragraph>
70*cdf0e10cSrcweir  <bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_TEMPLATE" xml-lang="en-US" id="bm_id3155831"/><paragraph role="heading" level="2" id="hd_id3147242" l10n="U" xml-lang="en-US" oldref="17">Template for import</paragraph>
71*cdf0e10cSrcweir  <paragraph l10n="U" role="paragraph" id="par_id3153320" xml-lang="en-US" oldref="18"><ahelp hid="HID_XML_FILTER_IMPORT_TEMPLATE" visibility="visible">Enter the name of the template that you want to use for importing. In the template, styles are defined to display XML tags.</ahelp></paragraph>
72*cdf0e10cSrcweir  <paragraph xml-lang="en-US" role="paragraph" id="par_id3156330" l10n="U" oldref="19">The path to the directory that contains the template must be included in <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - $[officename] - Paths</emph>. When you open an XML file whose filter uses the template, the template opens first. In the template, you can map $[officename] styles to display XML tags in the XML document.</paragraph>
73*cdf0e10cSrcweir </body>
74*cdf0e10cSrcweir</helpdocument>
75