The XMLInputMatching filter parses XML files by either matching source XML format with Sybase Search import XML format, or by transforming the source XML format; using a custom XSL style sheet. XMLInputMatching filter then redirects the unmatched XML to the StAX filter.
Parameter |
Value |
---|---|
DocumentFilter class |
com.omniq.filter.xml.XMLInputMatchingFilter |
InputMatching Parameters for matching ImportXML by namespace |
|
InputMatcherClass |
com.omniq.flt.xml.NamespaceMatcher |
Pattern |
urn:schemas-sybase-com/sysearch-import |
Action type |
redirect |
Params: |
|
Name |
DocumentFilterName |
Value |
ImportXML |
InputMatching Parameters for matching Import XML by root element |
|
InputMatcherClass |
com.omniq.flt.xml.RootElementMatcher |
Pattern |
Import |
Action type |
redirect |
Params: |
|
Name |
DocumentFilterName ImportXML |
Value |
ImportXML |
InputMatching Parameters for fallback |
|
InputMatcherClass |
com.omniq.flt.DefaultInputMatcher |
Action type |
redirect |
Params: |
|
Name |
DocumentFilterName |
Value |
StAX |
Table 3-29 shows the MimeMapping parameters associated with the XMLInputMatching filter.
Parameter |
Value |
---|---|
For applications: |
|
MimeType |
application/xml |
DocumentFilterName |
XMLInputMatcher |
For text: |
|
MimeType |
text/xml |
DocumentFilter |
XMLInputMatcher |