web-developer
HomeWindows/IISDHTMLRankingIndex ServerContact me 
 


 
Source: Microsoft Web Site

XML IFilter

Resource Kit Tool

Posted: September 2001
Download
xml.exe
126 KB file
1 min @ 28.8 Kbps

The Extensible Markup Language (XML) content filter enables crawling of documents that have an .xml extension. Before use, the administrator must register the file on the server.

By downloading, installing and using the code, the user accepts and agrees to the End User Licensing Agreement (EULA).

You can use XML Content Filter 1.0 (Beta) with the following two products:

  • Microsoft SharePoint Portal Server 2001
  • Microsoft Windows® 2000 Indexing Service

Prerequisites

  • Microsoft Windows 2000 operating system
  • Microsoft XML Parser (MSXML) 3.0. This is installed with SharePoint Portal Server. You can also download the Microsoft XML Parser 3.0 from the MSDN® Web site.

Installation

To install the XML content filter for Indexing Service:

  1. Set up Indexing Service to use the XML content filter for XML documents.
    1. Install MSXML 3.0.
    2. Copy xmlfilter.dll to a directory on a local hard drive.
    3. Run regsrv32 xmlfilter.dll.
    4. Run RegEdt32.exe.
    5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex.
    6. Open the key DllsToRegister.
    7. Add the path to xmlfilter.dll to the list.
  2. Set up Indexing Service to crawl, store, and retrieve specific XML document properties. To search for XML specific properties, you must call DefineColumn on the Index Server query object (ixsso.Query), as in the following Microsoft Visual Basic® script sample:

    Set Q = Wscript.CreateObject("ixsso.Query")

    Q.DefineColumn "BookTitle = 00020329-0000-0000-C000-000000000046 urn:schemas.microsoft.com:fulltextqueryinfo:xmlfilter:book/title"
    You then can search and retrieve the property "BookTitle."
    You must call DefineColumn for each property for which you want to search.
  3. Restart Indexing Service (cisvc) and update the index.
    1. Net stop cisvc.
    2. Net start cisvc.
    3. Update the index.

Usage

After you install this filter, Indexing Service can crawl and include .xml files in the index.

Note: The XML IFilter requires date types to be in the form mm/dd/yy to parse the data correctly.