IBM FileNet P8, Version 5.2.1            

How the classifier chooses a script

The XML Classifier, when called to perform automatic classification by Document 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

    THEN SET DocType = FileNetDocClass.value

    Example: <?FileNetDocClass XMLNewsStory ?>

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

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


Last updated: October 2015
adc_how_the_xml_classifier_chooses_which_xsl_script_to_use.htm

© Copyright IBM Corporation 2015.