リファレンスガイド> XQuery用のTDV組み込み関数> formatStringSequence
 
formatStringSequence
この関数は、文字列のシーケンスをSQLリテラルのコンマ区切りリストとしてフォーマットします。
構文
composite:formatStringSequence ($values as node()*)
declare variable $values := <a><b>1</b><b>2</b></a>;
<result>{composite:formatStringSequence ($values//b)}</result>
結果
出力の形式は次のような xs:string です。
<result>'1','2'</result>