View Source Updater (idmlx v0.1.3)
A module for updating the contents of an .idms file based on the Spread structure and its items using :xmerl.
Summary
Functions
Updates the contents of an .idms file based on the given Spread structure.
Functions
Updates the contents of an .idms file based on the given Spread structure.
Parameters
- spread: The Spread structure containing the items to update.
- file_path: The path to the .idms file to be updated.
Examples
iex> spread = %Spread{items: [%TextFrame{name: "example"}]}
iex> Updater.update_idms(spread, "path/to/file.idms")
:ok