devxlogo

December 12, 2007

Wrap the Result of an XQuery Query into an XML Document

Wrapping the result of an XQuery query into an XML document is very useful if you’re working with atomic values. The following Java program uses the net.sf.saxon.om.SequenceIterator and net.sf.saxon.query.QueryResult classes

An Improved szEncryptDecrypt VB6 Funtion

This is an improvement to the tip “Encrypt a String Easily.” I found that the szEncryptDecrypt function in this tip did not handle unicode strings properly, but otherwise worked well.