These examples show the xmlview of the jsp page. It can be
displayed as it's raw stream representation or with formatting which shows the
nested relationship of the elements. As of JSP 1.2 a JSP page (either in
standard JSP syntax or in XML syntax) is translated into it's internal
xml representation, known as an xmlview. The xmlview is passed off to the
Tag Library Validator (if there is one) for further validation.
This tag library is for demonstration purposes only and should
not be included in any production application. It uses the tag library validator,
XMLViewTagTLV to save a static copy of the xmlview for later use by the
<xmlview> tag.
The example output is best viewed by a web browser which can display content of
type text/xml. If your web browser does not support this, you can save a copy of the
output and view the saved file. Note that you may need to touch xmlview.jsp to see the results if you have previously run this sample.
|