Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Downloads a file format configuration by its ID. Use settings/documentformats/list to enumerate all your configurations.

A file format configuration is an XML document that describes how to extract translatable text from a file such as a Word document, a JSON file, a text file etc.

You can upload XML configurations to your Wordbee Translator under "Settings" > choose file format > "Upload".

URL

(GET) /api/documentformats/{id} 

PARAMETERS

URL parameters are:

id

The unique ID of the configuration.

string, Mandatory

RESULTS

The result is a text/xml HTTP response containing the configuration in XML format.

EXAMPLES

A sample configuration:

<?xml version="1.0" encoding="utf-8"?>
<!-- Exchange format for text extraction rules -->
<ParserConfigurations xmlns="http://www.wordbee.com/config">
    <!-- Rule -->
    <ParserConfiguration xmlns="http://www.wordbee.com/config">
        <Name>Default</Name>
        <Description></Description>
        <ParserDomain>RTF</ParserDomain>
        <EParser>10</EParser>
        <SegmentationRulesEnabled>true</SegmentationRulesEnabled>
        <SegmentationSplitAtNewlines>true</SegmentationSplitAtNewlines>
        <SegmentationSplitAtInlineTags>true</SegmentationSplitAtInlineTags>
        <VersionPretranslation>CompareTexts</VersionPretranslation>
        <UserTextPatterns xmlns="" />
        <CompactingOption xmlns="">0</CompactingOption>
        <ModulesVersion />
        <QA />
		....

 

 

 

  • No labels