1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25<helpdocument version="1.0">
26<meta>
27<topic id="textshared0106150120xml" indexer="include" status="PUBLISH">
28<title xml-lang="en-US" id="tit">Transformation</title>
29<filename>/text/shared/01/06150120.xhp</filename>
30</topic>
31<history>
32<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
33<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
34</history>
35</meta>
36<body>
37
38
39  <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>
40  <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>
41  <section id="howtoget">
42  <embed href="text/shared/00/00000406.xhp#xmlfilteredit"/>
43</section>
44  <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>
45  <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>
46  <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>
47  <paragraph role="paragraph" id="par_id3155364" l10n="U" xml-lang="en-US" oldref="5">-//OASIS//DTD DocBook XML V4.1.2//EN</paragraph>
48  <paragraph role="paragraph" id="par_id3145829" l10n="U" xml-lang="en-US" oldref="6">The resulting line in the XML document is:</paragraph>
49  <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>
50  <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>
51  <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>
52  <list type="unordered">
53   <listitem>
54    <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>
55   </listitem>
56   <listitem>
57    <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>
58   </listitem>
59  </list>
60  <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>
61  <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>
62  <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>
63  <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>
64  <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>
65  <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>
66  <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>
67  <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>
68  <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>
69 </body>
70</helpdocument>
71