A multi-lingual tag extension mechanism suitable for use with the
JAVASERVER computer software Pages platform. Rather than creating a
closure abstraction, the present invention "in-lines" a body evaluation
for the tags. A doStart ( ) method processes a start tag and determines
if a body needs to be evaluated. If so, a body evaluation buffer is
passed to a doBody ( ) method for body evaluation. Once the body
evaluation is complete, a doEnd ( ) method completes the processing by
synchronizing the variables. The scripting details of the present
invention match any nesting of the tag, so the at the structure
corresponding to the original scripting is preserved. Furthermore, the
present invention is not dependent on the specifics of the scripting
language used to form the Web page.