docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Routing XML Virtual Documents in Productions

Routing XML Virtual Documents in Productions
Defining Search Tables for XML Virtual Documents
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


This chapter describes briefly how to define search tables for XML virtual documents. It discusses the following topics:
To configure a business service or business operation to use a search table class, specify the Search Table Class setting of that business host. See “Configuration Steps,” earlier in this book.
Introduction
The XML search table class, EnsLib.EDI.XML.SearchTable indexes only the name of the root element of the XML documents.
If you need more items to search, you can create a subclass. For details, see “Defining a Search Table Class” in Using Virtual Documents in Productions.
Note:
InterSystems IRIS™ does not retroactively index messages that were received before you added the search table class.
Example
The following shows an example:
XData SearchSpec [ XMLNamespace = "http://www.intersystems.com/EnsSearchTable" ]
{
<Items>
   <Item DocType="MyApp:Patient" PropName="Gender" >{*:/Patient/Gender}</Item>
   <Item DocType="MyApp:Patient" PropName="MRN" >{*:/Patient/@MRN}</Item>
</Items>
}


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-09-20 06:49:59