Saving an odML structure to xml and automatically having the style included is only possible when explicitely using XMLWriter by setting local_style=True. I think it would be more user friendly and increase the visibility of the option to include the stylesheet by also permitting odml.save(local_style=True).