> Not really. I wasn't planning on using raw_format forever. Only until
> someone found time to make a text_format or xml_format that could be input
> as well as output -- this would also be more easily read/written by
> scripts and other LyXServer apps.
I think we should just switch to XDR_format now.
> My plan at present is to use a xml-like format extended from the existing
> text_format. Something like <int="123" string="a string"> and so on. I
> know it be nice to have the name of the appropriate variable in place of
> the data-type but it a heck of lot easier to write the data-type using xtl
> in it current form. I could alternately overload the method simple(T*) to
> be simple(string const & field_name, T*data) instead so we can pass the
> name of the field for an xml-like output.
I would like to warn against using an XML-like format. If the format is
to be useful, it has to be XML, not XML-like. If it's only XML-like, it
will be better to just use XDR since that is much more efficient.
Greets,
Asger