[ You are here:
XTF ->
Tag Reference ->
dynaXML -> Document Formatter Input ]
Document Formatter Input
The following tags and attributes are added by the dynaXML servlet to the original XML tags that make up the requested XML document, which are then passed to the
Document Formatter stylesheet for output formatting.
Attributes
xtf:hitCount="NumberOfHitsBelowThisTag"
xtf:firstHit="FirstHitNumberBelowThisTag"
These attributes are added to XML documents to indicate where matched text hits are located. By providing these tags, the dynaXML servlet allows the
Document Formatter stylesheet to quickly determine if a section of a document needs any special highlighting or not.
If the requested document has no hits, these attributes will appear once in the outermost tag for the document with both the attributes set to zero. If the document has one or more hits, these attributes will appear for any XML tag that has a hit inside it or inside its child tags.
Tags