1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3c63dc91bSAndrew Rist<!--*********************************************************** 4cdf0e10cSrcweir * 5c63dc91bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6c63dc91bSAndrew Rist * or more contributor license agreements. See the NOTICE file 7c63dc91bSAndrew Rist * distributed with this work for additional information 8c63dc91bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 9c63dc91bSAndrew Rist * to you under the Apache License, Version 2.0 (the 10c63dc91bSAndrew Rist * "License"); you may not use this file except in compliance 11c63dc91bSAndrew Rist * with the License. You may obtain a copy of the License at 12cdf0e10cSrcweir * 13c63dc91bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14cdf0e10cSrcweir * 15c63dc91bSAndrew Rist * Unless required by applicable law or agreed to in writing, 16c63dc91bSAndrew Rist * software distributed under the License is distributed on an 17c63dc91bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18c63dc91bSAndrew Rist * KIND, either express or implied. See the License for the 19c63dc91bSAndrew Rist * specific language governing permissions and limitations 20c63dc91bSAndrew Rist * under the License. 21cdf0e10cSrcweir * 22c63dc91bSAndrew Rist ***********************************************************--> 23c63dc91bSAndrew Rist 24c63dc91bSAndrew Rist<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textshared0106150120xml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">Transformation</title> 28cdf0e10cSrcweir<filename>/text/shared/01/06150120.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 32*b65cd59aSmseidel<paragraph id="hd_id3147477" role="heading" level="1" l10n="U" xml-lang="en-US"><variable id="transformation"><link href="text/shared/01/06150120.xhp" name="Transformation">Transformation</link></variable></paragraph> 33*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3154350" xml-lang="en-US"><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> 34cdf0e10cSrcweir<section id="howtoget"> 35cdf0e10cSrcweir<embed href="text/shared/00/00000406.xhp#xmlfilteredit"/> 36cdf0e10cSrcweir</section> 3777878c64Smseidel<bookmark branch="hid/FILTER_HID_XML_FILTER_DOCTYPE" xml-lang="en-US" id="bm_id3148731"/> 38*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3148668" l10n="U" xml-lang="en-US">DocType</paragraph> 39*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3155934" xml-lang="en-US"><ahelp hid="HID_XML_FILTER_DOCTYPE" visibility="visible">Enter the DOCTYPE of the XML file.</ahelp></paragraph> 40*b65cd59aSmseidel<paragraph role="paragraph" id="par_id3148520" l10n="U" xml-lang="en-US">For example, the DOCTYPE defined for the current DocBook XML filter is:</paragraph> 41*b65cd59aSmseidel<paragraph role="paragraph" id="par_id3155364" l10n="U" xml-lang="en-US">-//OASIS//DTD DocBook XML V4.1.2//EN</paragraph> 42*b65cd59aSmseidel<paragraph role="paragraph" id="par_id3145829" l10n="U" xml-lang="en-US">The resulting line in the XML document is:</paragraph> 43*b65cd59aSmseidel<paragraph role="paragraph" id="par_id3152594" l10n="U" xml-lang="en-US"><!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"></paragraph> 4477878c64Smseidel<bookmark branch="hid/FILTER_HID_XML_FILTER_DTD" xml-lang="en-US" id="bm_id3149346"/> 45*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3149180" l10n="U" xml-lang="en-US">DTD</paragraph> 46*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3153394" xml-lang="en-US"><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> 47cdf0e10cSrcweir<list type="unordered"> 48cdf0e10cSrcweir<listitem> 49*b65cd59aSmseidel<paragraph role="listitem" id="par_id3152867" l10n="U" xml-lang="en-US">If present, both identifiers are written to the DOCTYPE declaration in saved XML files.</paragraph> 50cdf0e10cSrcweir</listitem> 51cdf0e10cSrcweir<listitem> 52*b65cd59aSmseidel<paragraph role="listitem" id="par_id3155892" l10n="U" xml-lang="en-US">The public identifier is used to detect the filter when you open a file without specifying a filter.</paragraph> 53cdf0e10cSrcweir</listitem> 54cdf0e10cSrcweir</list> 5577878c64Smseidel<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"/> 56*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3155338" l10n="U" xml-lang="en-US">Browse</paragraph> 57*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3150506" xml-lang="en-US"><ahelp hid="HID_XML_FILTER_IMPORT_TEMPLATE_BROWSE" visibility="visible">Opens a file selection dialog.</ahelp></paragraph> 5877878c64Smseidel<bookmark branch="hid/FILTER_HID_XML_FILTER_EXPORT_XSLT" xml-lang="en-US" id="bm_id3156426"/> 59*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3153527" l10n="U" xml-lang="en-US">XSLT for export</paragraph> 60*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3152552" xml-lang="en-US"><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> 6177878c64Smseidel<bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_XSLT" xml-lang="en-US" id="bm_id3151110"/> 62*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3149149" l10n="U" xml-lang="en-US">XSLT for import</paragraph> 63*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3147653" xml-lang="en-US"><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> 6477878c64Smseidel<bookmark branch="hid/FILTER_HID_XML_FILTER_IMPORT_TEMPLATE" xml-lang="en-US" id="bm_id3155831"/> 65*b65cd59aSmseidel<paragraph role="heading" level="2" id="hd_id3147242" l10n="U" xml-lang="en-US">Template for import</paragraph> 66*b65cd59aSmseidel<paragraph l10n="U" role="paragraph" id="par_id3153320" xml-lang="en-US"><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> 67*b65cd59aSmseidel<paragraph xml-lang="en-US" role="paragraph" id="par_id3156330" l10n="U">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> 68cdf0e10cSrcweir</body> 69cdf0e10cSrcweir</helpdocument> 70