jsp – JSP processing instructions

A module that allows you to embed JSP content as processing instructions.

class ll.xist.ns.jsp.scriptlet[source]

Bases: ProcInst

Will be published as <% content %>.

class ll.xist.ns.jsp.expression[source]

Bases: ProcInst

Will be published as <%= content %>.

class ll.xist.ns.jsp.declaration[source]

Bases: ProcInst

Will be published as <%! content %>.

class ll.xist.ns.jsp.block[source]

Bases: Element

This element embeds its content in {} brackets. Note that the content itself will not be turned into a scriptlet automatically but will be used as-is.

ll.xist.ns.jsp.fromul4(template, variables='variables', indent=0)[source]

Return the UL4 template template as JSP source code. variables is the variable name of the map object containing the top level variables. indent is the initial indentation of the source code.

The code produced requires the UL4 Java package.