This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Converting DOM to Qexo Infoset?
- From: Daniel Aborg <lists dot kawa at daborg dot fastmail dot fm>
- To: kawa at sources dot redhat dot com
- Date: Fri, 27 Apr 2007 12:30:17 -0600
- Subject: Converting DOM to Qexo Infoset?
Hi,
I'm exploring using Qexo as an alternative to Saxon and I've run into a
bit of a snag.
We have an xquery script that takes DOM trees as external variables.
However, when I try to run this script in Qexo it tells me that it
expects a Qexo NodeType rather than a DOM Node. Based on this I'm
assuming that Qexo does not support natively accessing DOM trees and
that I must convert my DOM tree to a Qexo Infoset.
Unfortunately, I can't find any indication of how to do this in any of
the documentation, in the APIs, or in the sources themselves.
How would I go about converting a DOM tree to what Qexo expects so I can
pass it to the xquery script as an external variable?
Thank you for your help,
Daniel