Package: cxml-stp

Function make-builder

Lambda List

make-builder ()

Return Value

STP builder, a SAX handler

Details

This function creates SAX handler that constructs an STP document.

The builder processes SAX events and can be used with any function generating such events, in particular with cxml:parse-file.

Examples. Parsing a file:
(cxml:parse #p"example.xml" (stp:make-builder))
Parsing a string:
(cxml:parse "<example/>" (stp:make-builder))


 

See also