Processing Instructions"

From Documentation
Line 8: Line 8:
  
 
Notice that there should be ''no'' whitespace between the question mark and the processing instruction's name (i.e., page in the above example).
 
Notice that there should be ''no'' whitespace between the question mark and the processing instruction's name (i.e., page in the above example).
 +
 +
You can also use EL in instructions like:
 +
<source lang="xml">
 +
<?page automaticTimeout="true" title="${personalTitle}"?>
 +
<?component name="loc-datebox" extends="datebox" locale="${somelocale}"?>
 +
</source>
  
 
{{ZUMLReferenceHeadingToc}}
 
{{ZUMLReferenceHeadingToc}}
  
 
{{ZUMLReferencePageFooter}}
 
{{ZUMLReferencePageFooter}}

Revision as of 04:38, 19 April 2017


DocumentationZUML ReferenceZUMLProcessing Instructions
Processing Instructions


Each XML processing instruction specifies the instruction how to process the XML document. It is called directives in ZK. For example, the following specifies the page title and style.

<?page title="Grey background" style="background: grey"?>

Notice that there should be no whitespace between the question mark and the processing instruction's name (i.e., page in the above example).

You can also use EL in instructions like:

<?page automaticTimeout="true" title="${personalTitle}"?>
<?component name="loc-datebox" extends="datebox" locale="${somelocale}"?>





Last Update : 2017/04/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.