Examples of publishing XML values

The following examples show how you can construct XML values with SQL/XML publishing functions and with XQuery expressions.