XIB: eXtensible Information Broker |
XIB Broker Builder
|
<?xml version="1.0"?> <!DOCTYPE
XIB_MAPPING SYSTEM "http://www.cs.toronto.edu/km/xib/data/XIB.dtd"> |
This XML document shows the following mappings for AmazonSearch and ChaptersSearch:
AmazonSearch | ChaptersSearch | Broker |
amazonQuery | chaptersQuery | query |
amazonMode | chaptersMode | modeValues |
amazonModeValues | chaptersModeValues | modeValues |
books | @FullTitle | bookName |
As you can see from the table above, we are able to map input elements as well as input attributes in the input mappings. If we choose to map two input attributes together (e.g. books and @FullTitle), we must map together the elements that those attributes belong to as well (e.g. amazonModeValues and chaptersModeValues).
Inportant Note: When mapping two input elements together, the new identifier used must be unique. We have this rule because it allows us to check if two elements really map together or if they just have the same identifier by coincidence. If they have the same identifier by coincidence, we will know that they do not map together by observing that the broker name for that input is the same as the name used by the information source. For example, this is NOT a mapping:
AmazonSearch | ChaptersSearch | Broker |
book | book | book |
Maintained by Jianguo Lu |