My next problem is the parsing of HTML MAP sections.
These maps look like this. (Shape may be RECT, POLYGON or CIRCLE. Target may be "_parent","_blank","_self","_top" or any user-defined frame. The coords may consist 3, 4, 6 or more integers for CIRCLE-s, RECTANGLE-s and POLYGON respectively.
Code: Select all
Code: Select all
facts - saved % 2016.08.07.
map_name : string := "".
a:(string Name, string Shape, integer_list FetchingPoints, string Jump, string Target, string Title).
The hardest task is the handling of double quotes during splitting the AREA lines to lists of {keyword, equal sign, optional doble quote,text,optional closing double quote} sequences.
Have you some samples or recommended library functions related to such parsing tasks?