What applies to HTML4 tables, also applies to HTML4 form elements (input
, textarea
, etc).
Procedure 4.2. Procedure
The corresponding support code is contained in
. In theory, you need to copy this file to the directory containing your custom configuration.XXE_install_dir
/doc/configure/jars/xhtml_form.jar
Now, XXE is bundled with a configuration for XHTML and this configuration includes xhtml.jar
. File xhtml.jar
already contains all the code needed to style HTML4 form elements. Therefore, unless you have deleted the standard XHTML configuration for XXE, you don't need to copy xhtml_form.jar
to the directory containing your custom configuration.
Add this snippet at the top of your CSS style sheet:
@import url(xxe-config:xhtml/css/xhtml_form.imp);
If you use a namespace (e.g. http://acme.com/ns
) for all the elements defined in your schema, including for form elements, add this snippet instead. This is not strictly needed but this will speed up the rendering of XML elements on screen:
@namespace "http://acme.com/ns"; @import url(xxe-config:xhtml/css/xhtml_form.imp);