<!ELEMENT extension (tagLibrary+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT tagLibrary ((functionTag | iteratingTag | conditionalTag | emptyTag | containerTag)+ , description?)>
<!ATTLIST tagLibrary
id CDATA #REQUIRED
name CDATA #REQUIRED
standardPrefix CDATA #IMPLIED
deprecated (true | false) >
Declares a tag library. That is, a collection of related JET2 tags.
<!ELEMENT functionTag (attribute* , description?)>
<!ATTLIST functionTag
name CDATA #REQUIRED
class CDATA #REQUIRED
deprecated (true | false)
whenContainingLineIsEmpty (preserve|remove) "preserve">
Define a tag that writes a value to the template output which is calculated from the elements content and any attribute values. Function tags require content in order to create output. An empty function tag, for example <myFunction/> will produce no output.
The default for function tags is 'preserve'.
<!ELEMENT iteratingTag (attribute* , description?)>
<!ATTLIST iteratingTag
name CDATA #REQUIRED
class CDATA #REQUIRED
deprecated (true | false)
processContents (custom|standard) "standard"
whenContainingLineIsEmpty (preserve|remove) "remove">
Define a tag that causes repeated evaluation of its contents based on its attribute values.
The default for iterating tags is 'remove'.
<!ELEMENT conditionalTag (attribute* , description?)>
<!ATTLIST conditionalTag
name CDATA #REQUIRED
class CDATA #REQUIRED
deprecated (true | false)
processContents (custom|standard) "standard"
whenContainingLineIsEmpty (preserve|remove) "remove">
Define a tag that conditionally writes its contents to the output depending on some calculation.
The default for conditional tags is 'remove'.
<!ELEMENT emptyTag (attribute* , description?)>
<!ATTLIST emptyTag
name CDATA #REQUIRED
class CDATA #REQUIRED
deprecated (true | false)
whenContainingLineIsEmpty (preserve|remove) "preserve">
Define a tag creates output or causes actions based on its context and attribute values only. An empty tag may have no content, and must be of the form <myEmptyTag ... />
The default for empty tags is 'preserve'.
<!ELEMENT attribute (description?)>
<!ATTLIST attribute
name CDATA #REQUIRED
use (required|optional) "required"
deprecated (true | false)
type (string|boolean|xpath) "string">
<!ELEMENT containerTag (attribute* , description?)>
<!ATTLIST containerTag
name CDATA #REQUIRED
class CDATA #REQUIRED
deprecated (true | false)
processContents (standard|custom) "standard"
allowAsEmpty (true | false)
whenContainingLineIsEmpty (remove|preserve) "remove">
true
is specified. If not specified, then false
is assumed.The default for container tags is 'remove'.
<!ELEMENT description (#PCDATA)>