settings/documentformats/configs/{id}

settings/documentformats/configs/{id}

Downloads a file format configuration by its ID. Use settings/documentformats/configs/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/settings/documentformats/configs/{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 /> ....

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008