jsp – JSP processing instructions

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

class ll.xist.ns.jsp.block(*content, **attrs)[source]

Bases: ll.xist.xsc.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.

class ll.xist.ns.jsp.declaration(*content)[source]

Bases: ll.xist.xsc.ProcInst

Will be published as <%! content %>.

class ll.xist.ns.jsp.expression(*content)[source]

Bases: ll.xist.xsc.ProcInst

Will be published as <%= content %>.

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.

class ll.xist.ns.jsp.scriptlet(*content)[source]

Bases: ll.xist.xsc.ProcInst

Will be published as <% content %>.