as-translation-private 3 APPSTREAM Library
as-translation-private

## Functions

gboolean | as_translation_load_from_xml ()
void | as_translation_to_xml_node ()

## Description

## Functions

### as_translation_load_from_xml ()

    gboolean
    as_translation_load_from_xml (AsTranslation *tr,
                                  AsContext *ctx,
                                  xmlNode *node,
                                  GError **error);

Loads data from an XML node.

#### Parameters

tr | a AsTranslation instance. |
ctx | the AppStream document context. |
node | the XML node. |
error | a GError. |

as_translation_load_from_xml

### as_translation_to_xml_node ()

    void
    as_translation_to_xml_node (AsTranslation *tr,
                                AsContext *ctx,
                                xmlNode *root);

Serializes the data to an XML node.

#### Parameters

tr | a AsTranslation instance. |
ctx | the AppStream document context. |
root | XML node to attach the new nodes to. |

as_translation_to_xml_node

## Types and Values