XML Processing Rules
Watson™ Explorer Engine processes XML recursively. For all the elements, with the exception of unknown elements and conditional and template elements, Watson Explorer Engine will process the child elements before processing the containing element.
It is possible to add your own XML into Watson Explorer Engine, keeping in mind the following constraints:
- Unknown elements and text at the top level are passed through without being processed.
- Unknown attributes are passed through as long as the element is not discarded (which depends on the element).
- Unless specified, unknown elements are not allowed under known tags. (Watson Explorer Engine does not guarantee consistent behavior in this case.) One important exception is when parsing the output of a source where it is possible and encouraged to collect your own XML.