17.6.5Class Renderer

Doocbook Renderer.

Class Renderer( [frame] )
frame An object used to surround produced data with proper docbook framing.

The docbook renderer transforms the input text in a valid docbook output, which may be inserted under a

entry of a DocBook 5.1 document.

Heading elements are treated as sections, and properly nested based on their level.

If given, the frame object will be used to complete the document by appending and prepending proper XML and docbook starters.

The frame object will provide an open() method that shall return the docbook code to declare the document (including the xml document declaration) and a close() method so that the whole document can be built through


      frame.open() + rendered_content + frame.close()
Properties
blevel
frame
renderers
Methods
close_section
go_to_level
open_section
rcont
render
renderNode
sgmlEscape

Properties

blevel

frame

renderers

Methods

close_section

close_section( level )

go_to_level

go_to_level( l )

open_section

open_section( level, id, title )

rcont

rcont( node )

render

render( context )

renderNode

renderNode( node )

sgmlEscape

sgmlEscape( content )
Made with http://www.falconpl.org