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
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