Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Searching XML documents

1 view
Skip to first unread message

Paul Nash

unread,
Aug 3, 2003, 5:41:31 PM8/3/03
to
I got a few questions:

I want to write a general XML document searcher for the web. This should be
possible in theory and a powerful generalised search device. Has anyone done
it in Tcl yet ?

I assume not. It would work best with an "intelligent" HTML <form> (haha),
which would get written in javascript these days. When you select your
document type the search returns (quickly) with the entries for the document
structure that you search in. Then you can put keywords, search expressions
etc against the tag types and it goes and looks again. If I use a Tclet as
the intelligent form can I access the net from the tclet ?

Can the data be returned to the tclet or to the browser by choice ?

Should I just stick with Javascript ?

Thanks in advance,
Paul Nash
webscool.org


Michael Schlenker

unread,
Aug 4, 2003, 9:13:29 AM8/4/03
to
Paul Nash wrote:
> I got a few questions:
>
> I want to write a general XML document searcher for the web. This should be
> possible in theory and a powerful generalised search device. Has anyone done
> it in Tcl yet ?

Basically what you want is XML Query...
http://www.w3.org/XQuery

No Tcl binding for it yet.

> I assume not. It would work best with an "intelligent" HTML <form> (haha),
> which would get written in javascript these days. When you select your
> document type the search returns (quickly) with the entries for the document
> structure that you search in. Then you can put keywords, search expressions
> etc against the tag types and it goes and looks again. If I use a Tclet as
> the intelligent form can I access the net from the tclet ?

Yes. (I don't know if the security policy for the plugin allows any net
access or only back to the originating server, but in general you have
net access).

Michael


0 new messages