At 2010-03-02 17:58 +0000, you wrote:
On 2 March 2010 17:53, G. Ken Holman <[email protected]> wrote:
> In the classroom I use "curl" to submit a composed query to
> "/use-cases/eval2.xqy", taking advantage of the ";" extension in "1.0-ml" to
> put multiple independent queries in the single submitted file.
>
> I compose the query using XSLT and command-line arguments, synthesizing the
> required load scripts by reading the contents of my exercise directories,
> producing the composed query that is then submitted to the server.
>
> Students merely install Mark Logic and then run the loading environment
> batch file in a very turnkey fashion.
>
> It does, however, expose the administration username and password in the
> synthesized batch file that invokes curl ... so it isn't a production
> approach.
>
> This was a very helpful suggestion from one of my students.

ahh great, thanks Ken.   I'm familiar with curl... that looks like the
answer (along with a .bat as its windows)

Eric makes a good point, though, about server restarts. What I do can be finicky. There are times when I have to ask the students to run the load script a second time because one of the steps in the first invocation is either too early or too late and doesn't get recognized.

So it isn't fool-proof ... I'm quite the fool to prove that. I'm very interested to hear of your progress.

. . . . . . . . . . . Ken


--
XSLT/XQuery training:      after http://XMLPrague.cz 2010-03-15/19
XSLT/XQuery training:         San Carlos, California 2010-04-26/30
Principles of XSLT for XQuery Writers: San Francisco,CA 2010-05-03
XSLT/XQuery training:                 Ottawa, Canada 2010-05-10/14
XSLT/XQuery/UBL/Code List training: Trondheim,Norway 2010-06-02/11
Vote for your XML training:   http://www.CraneSoftwrights.com/q/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/q/
G. Ken Holman                 mailto:[email protected]
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/q/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to