Hi All,
I have around 1500 xml file in a folder and want to search for keywords in
the file. Please help me how to do this. Can it be done using Microsoft index
server ?? I am new to xml ....Please help

thanks,

Re: Searching XML files by mr_unreliable

mr_unreliable
Fri Mar 11 16:49:33 CST 2005

hi SF,

There is a COM package, whose members are readily usable from script.

Dim xmlHTTP : Set xmlHTTP = CreateObject("Microsoft.XMLHTTP")

It is well documented on msdn:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xmmscXML.asp

and, other websites:

http://www.4guysfromrolla.com/webtech/110100-1.shtml

In fact, if you know how to search the newsgroup archive, you can find
example code postings from this very newsgroup!!!

cheers, jw

SF wrote:
> Hi All,
> I have around 1500 xml file in a folder and want to search for keywords in
> the file. Please help me how to do this. Can it be done using Microsoft index
> server ?? I am new to xml ....Please help
>
> thanks,

Re: Searching XML files by SF

SF
Fri Mar 11 18:15:03 CST 2005

Thanks for the reply. I just read the link which you had sent. The links
talks about posting the data to th website.

I have around 1500 xml files in the folder which composes a book. The way it
should work is if the user types a keyword in a search box
for example Test in the search box it should search all the 1500 XML files
and return the name of only those xml files which have Test in the xml
document. Please suggest if the above component whic you have suggested will
work in my scenario.

thanks,

"mr_unreliable" wrote:

> hi SF,
>
> There is a COM package, whose members are readily usable from script.
>
> Dim xmlHTTP : Set xmlHTTP = CreateObject("Microsoft.XMLHTTP")
>
> It is well documented on msdn:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xmmscXML.asp
>
> and, other websites:
>
> http://www.4guysfromrolla.com/webtech/110100-1.shtml
>
> In fact, if you know how to search the newsgroup archive, you can find
> example code postings from this very newsgroup!!!
>
> cheers, jw
>
> SF wrote:
> > Hi All,
> > I have around 1500 xml file in a folder and want to search for keywords in
> > the file. Please help me how to do this. Can it be done using Microsoft index
> > server ?? I am new to xml ....Please help
> >
> > thanks,
>

Re: Searching XML files by Bill

Bill
Fri Mar 11 21:42:26 CST 2005

You might want to check out LogParser. Don't let the name fool you, =
it's useful for a lot more than log files, including XML. If you =
already have some knowledge of query language the learning curve will be =
shorter.

Download: =
http://www.microsoft.com/downloads/details.aspx?familyid=3D890cd06b-abf8-=
4c25-91b2-f8d975cf8c07&displaylang=3Den

The Unofficial Log Parser Support Site: =
http://www.logparser.com/index.htm.


--=20

Bill James
Microsoft MVP - Shell/User

Windows VBScript Utilities =C2=BB www.billsway.com/vbspage/
Windows Tweaks & Tips =C2=BB www.billsway.com/notes_public/

"SF" <SF@discussions.microsoft.com> wrote in message =
news:E04E2CEC-DA93-4614-A019-34A71C0C1E4F@microsoft.com...
> Thanks for the reply. I just read the link which you had sent. The =
links=20
> talks about posting the data to th website.
>=20
> I have around 1500 xml files in the folder which composes a book. The =
way it=20
> should work is if the user types a keyword in a search box
> for example Test in the search box it should search all the 1500 XML =
files=20
> and return the name of only those xml files which have Test in the xml =

> document. Please suggest if the above component whic you have =
suggested will=20
> work in my scenario.
>=20
> thanks,
>=20
> "mr_unreliable" wrote:
>=20
>> hi SF,
>>=20
>> There is a COM package, whose members are readily usable from script.
>>=20
>> Dim xmlHTTP : Set xmlHTTP =3D CreateObject("Microsoft.XMLHTTP")
>>=20
>> It is well documented on msdn:
>>=20
>> =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/xmlsdk=
/html/xmmscXML.asp
>>=20
>> and, other websites:
>>=20
>> http://www.4guysfromrolla.com/webtech/110100-1.shtml
>>=20
>> In fact, if you know how to search the newsgroup archive, you can =
find
>> example code postings from this very newsgroup!!!
>>=20
>> cheers, jw
>>=20
>> SF wrote:
>> > Hi All,
>> > I have around 1500 xml file in a folder and want to search for =
keywords in=20
>> > the file. Please help me how to do this. Can it be done using =
Microsoft index=20
>> > server ?? I am new to xml ....Please help
>> >=20
>> > thanks,
>>