Hi!
I just found that I can perfome xquery() operations only on TXMLObjectAccessor objects, can somebody tell me why I can perfome similar operations on TNonXMLObjectAccessor objects?
I know that I can perfome query() operations on both objects…
Thank you.
Hi,
XQuery is designed for and only applicable with XML and therefore can only be applied againest XML documents. If you try and issue XQuery againest non xml you get a INOXQE6364 error with the message “XQuery applied on non-XML doctype”. This explains why the xquery() method is only available in the TXMLObjectAccessor interface.
With X-Query it is possible to query againest non xml but the only information you can retrieve is it ino:id and ino:docname.
Hope this helps.
Stuart Fyffe-Collins
Software AG (UK) Ltd.