Overview  Index  Help 
SMLDoc

EASY_HTML_PARSER

All Known Implementing Modules:

EasyHTMLParser


signature EASY_HTML_PARSER =
sig val getBodyOfHTML : (string -> unit) -> string -> string end

This module provides functions parsing HTML documents. The supposed usage of them are parse of files which users of SMLDoc specifies in the command line options, such as --overview, --helpfile. Full spec parser like those in the HTML library of SMLNJ is not required to parse Overview file or Help file the user specifies.

Author:
YAMATODANI Kiyoshi
Version:
$Id: SigEASY_HTML_PARSER.html,v 1.9 2007/02/17 07:01:57 kiyoshiy Exp $

       
Value detail

getBodyOfHTML

fun getBodyOfHTML warn HTML : (string -> unit) -> string -> string

retrieves the content of BODY tag.

Parameters:
warn
a function which should be called to display warning message.
HTML
the text in HTML format to be parsed.
Returns:
the content of BODY tag in the HTML

 


Overview  Index  Help 
SMLDoc: Documentation generator for SML