gustafn
committed
on 27 Oct

New API function: ad_docbook_xml_to_html

This function converts DocBook XML as used in the OpenACS
documentation to HTML. This is not a f… Show more

New API function: ad_docbook_xml_to_html

This function converts DocBook XML as used in the OpenACS

documentation to HTML.  This is not a full implementation of all

possible DocBook markup, but just a subset sufficient for rendering a

substantial subset of the OpenACS documentation.

The function can be used via

 set html [ad_html_text_convert -from application/docbook+xml -to text/html $text]

or

 set txt [ad_html_text_convert -from application/docbook+xml -to text/plain $text]

Show less