Package DE_EPAGES::Dictionary::API::XML::DictionaryImportHandler
This module implements a SAX2 handler to import dictionary files.
Base |
DE_EPAGES::XML::API::BaseImportHandler |
Example |
<?xml version="1.0" encoding="iso-8859-1"?> <epages> <Language Language="de"> <Translation Keyword="Language" Value="Sprache" /> </Language> </epages> ... use DE_EPAGES::Dictionary::API::XML::DictionaryImportHandler qw (ImportDictionary); my $hhDictionary = ImportDictionary('Dictionary.en.xml'); |
@EXPORT_OK |
Functions
ImportDictionary
Imports dictionary from an XML file. If a dictionary exists the function extends this dictionary.
Syntax |
$hDictionary = ImportDictionary( $FileName ); $hDictionary = ImportDictionary( $FileName, $hExistingDictionary ); $hDictionary = ImportDictionary( $FileName, $hExistingDictionary, $LanguageCode ); $hDictionary = ImportDictionary( $FileName, $hExistingDictionary, $LanguageCode, $OnlyJS ); |
Input |
|
Return |
|