Re: XML DocBook patch



Toshio Kuratomi wrote:
> 
> Enclosed is a patch that enables gives gtkdoc-mkdb a new output flag:
> --output-format=[xml|sgml]
> When --output-format=xml is given gtkdoc-mkdb spits out xml output as xml
> rather than sgml (The only difference thus far is that gtkdoc-mkdb closes
> the anchor and colspec tags and using .xml as the file extension.)

I think it should be an optional setting, defaulting to SGML.
i.e. change "output-format=s" to "output-format:s".

Other than that it looks OK to me.

Does it output valid XML now?


> There are also commented out changes that would move the default output
> directory from ./sgml to ./docbook.  I think this is a more logical
> directory name but I think it'll require some updates to client makefiles so
> I disabled it for now.

Yeah, this is too much hassle to change at the moment.

Though I wouldn't mind if it output to ./docbook when --output-format=xml
was used.

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]