Local backend: Init scan elements attributes

The scan elements attributes are now initialized here, as they were no
more initialized in the init_context() funciton.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Xml backend: Use &gt; instead of symbol < in generated XML

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>