How the XML Classifier chooses which script to use

The XML Classifier, when invoked to perform automatic classification by the Classification Manager, parses the XML document in order to perform the following pseudo steps to determine which XML Property Mapping Script (which contains the actual XSL) to use to perform the automatic classification:

  1. Look for a Processing Instruction named FileNetDocClass. If it exists, use its value:

IF DOMDoc contains a Processing Instruction named FileNetDocClass

    SET DocType = FileNetDocClass.value


Example:   <?FileNetDocClass XMLNewsStory ?>

In this case, the XML Document Type would be XMLNewsStory.

  1. ELSE, get the expanded QName of the root element in the form of {RootElementNamespaceURI}RootElementLocalName.
  2. If not found, the XML Classifier fails gracefully with an appropriate error message.