ZVON > References > Schematron reference
Element report
Description When test succeeds, contents of the element is outputed.
Attributes
diagnostics The value of the attribute is a list of references to diagnostic elements.
icon An URL of a small image which may provide visual clues to a user.
id This attribute enables unique identification of the element. According to XML specification the value of an attribute of ID type can contain only characters permitted for NMTOKEN and must start with a letter. No element type may have more than one ID attribute specified. The value of an ID attribute must be unique between all values of all ID attributes.
role This is an identifier within the schema to identify the role that is played.
subject This optional attribute is an XPath expression which allows very direct specification of the subject of the assertion: this may be useful information for automatically generating [RDF] documents.
test the test succeeds if the condition is matched
Children name, emph, dir, span
Parents rule
DTD
<!ELEMENT report ( #PCDATA | name | emph | dir | span )*>
<!ATTLIST report
             test CDATA #REQUIRED
             role NMTOKEN #IMPLIED
             id ID #IMPLIED
             diagnostics IDREFS #IMPLIED
             icon CDATA #IMPLIED
             subject CDATA #IMPLIED>

Examples
Example 1 A simple example



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet