Because Flare files are XML files, you can use scripts to perform
tasks that either can’t be performed through the user interface or
would be very tedious if done that way. In this chapter, I will
explore several tasks that can be automated with scripts, including
<p> tags, formatting JSON code,
and changing XML comments into Flare annotations.
The scripts presented here can be used with any well-formed
HTML file, not just files produced by Flare.
And as long as your files are well formed, they do not have to be valid
XHTML. For example, they can be missing a
or they can contain Flare proprietary markup.
For this reason, these scripts can be used either before or after import. However, ...