qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general]How to update a XML file


From: Jun Yu
Subject: Re: [Qexo-general]How to update a XML file
Date: Fri, 5 Dec 2003 15:21:58 +0100 (MET)

Hi,
I got some solution about these questions. So I wrote for the mailing
list.


On Fri, 5 Dec 2003, Jun Yu wrote:

>
> Hello everybody,
> I am doing a web application with Xquery and Qexo. It is just like a web
> site. The user needs querying data, and the administrator needs to
> maintain the XML database(update/delete).
>
> (1)To update some of elements in the XML database file, it is impossible
> to use write-to() function.  Because it will rewrite the whole file. How I
> should do ?

 Until now, no other ways.

>
> (2)The system needs SESSION machanism. I tried to pass SESSION from one
> xql file to another xql file with URL.  Something like:
> http://.../ss3.xql?SESSIONID=12345
>
> But it shows:
> The server encountered an internal error () that prevented it from
> fulfilling this request.
>


if s1.xql will call s2.xql, it does not work if I use the following in
s1.xql:
<a href="http://.../s2.xql?username=jjj&password=12345/> Next </a>

But it can work if I use:
 <a href="http://.../s2.xql?username=jjj&amp;password=12345/> Next </a>



> (3)Many Xquery functions can not be used.
> For instance, as the previous question shows, I need to join two string
> with string-join().  That is, to join "http://.../ss3.xql"; to 
> "?SESSIONID=12345".
> But it does not work. How to handle such problem ?


concat() has the same function as string-join().


>
> Any idea or suggestion is welcome. Thanks for your help.
>
> best regards,
> June
>
>
> _______________________________________________
> Qexo-general mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/qexo-general
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]