[Qt-interest] How to invoke another Xquery file from one Xquery file in Qt

Murali Mohan muralimohan.krishnamurthy at gmail.com
Sat Nov 14 17:04:18 CET 2009


Hi,

I have an XQuery file and I want to know how to invoke another XQuery file
if the Xquery encounters some tags of a perticular namespace.

For eg:

<root>
   <somenode>
    ................
    <another-node  xmlns=http://somenamespace.com>
     <node1> .... </node1>
     </another-node>
   ................
   </somenode>
</root>

In the above sample, I have an xquery file which handles <another-node>
belonging to another namespace.
I want to invoke that file only if the main xquery file (handling the parent
tags) encounters xmlns=http://somenamespace.com namespace.


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091114/2271a61a/attachment.html 


More information about the Qt-interest-old mailing list