+ // we write only true attribute values so we remove a bit of the
+ // file format bloat for tabulars.
+ if (!b)
+ return string();
+
+ return write_attribute(name, tostr(b));
+}
+
+template <>
+string const write_attribute(string const & name, int const & i)
+{
+ // we write only true attribute values so we remove a bit of the
+ // file format bloat for tabulars.
+ if (!i)
+ return string();
+
+ return write_attribute(name, tostr(i));