Using XQL for skin customization

When you write your own XQL files for skin customization, you need to know how to use Legacy Content Delivery's libraries.

To call the get_config_value function, for example, inside the LiveContent-Util module, you must use the corresponding import function:
xquery version "1.0";	

import module namespace LiveContent-Util="http://www.xyenterprise.com/LiveContent/xquery/util" at "../lib/util.xql";

let $conf := LiveContent-Util:get_config_value("some_custom_key_name")
return concat($conf, "/")
Here are the import functions for the list of available modules:
import module namespace LiveContent-Util="http://www.xyenterprise.com/LiveContent/xquery/util" at "../lib/util.xql";

import module namespace LiveContent-UI="http://www.xyenterprise.com/LiveContent/xquery/ui" at "../lib/ui.xql";

import module namespace LiveContent-Sitemap="http://www.xyenterprise.com/LiveContent/xquery/sitemap" at "../lib/sitemap.xql";

import module namespace LiveContent-Pipeline="http://www.xyenterprise.com/LiveContent/xquery/pipeline" at "../lib/pipeline.xql";

import module namespace LiveContent-DITA="http://www.xyenterprise.com/LiveContent/xquery/DITA" at "../lib/DITA.xql";

import module namespace LiveContent-Content="http://www.xyenterprise.com/LiveContent/xquery/content" at "../lib/content.xql";