www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
Remote SQL Data Source
Replication
SOAP
http_body_read
soap_box_structure
soap_box_xml_entity
soap_call
soap_client
soap_current_url
soap_dt_define
soap_make_error
soap_print_box
soap_sdl
soap_server
soap_wsdl
soap_wsdl_import
wst_cli
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
VAD
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

soap_print_box

Formats an SQL value and returns it as a generated XML fragment.
soap_print_box (in value any, in enclosing_tag varchar, [in date_encoding_type|soap_version integer]);
Description

This function formats an SQL value as an XML fragment and returns it. This is used internally by the SOAP server to encode the output parameter values and return values when processing a SOAP request.

Parameters
value – Required. Any SQL value to be represented as an XML fragment.
enclosing_tag – Required. The XML tag to place the value into.
date_encoding_type – Optional. Valid only if a value is a datetime. If supplied, the enclosing_tag is ignored and the date is printed out in one of the following formats:
  • 0 - ISO 8601
  • 1 - RFC 1123
  • 3 - Microsoft specific, recognized by some of the WebFolders clients
soap_version – Optional(Default 1). Valid only if the value type is not a datetime. The soap_version (1 for SOAP 1.0, 11 for SOAP 1.1).
Return Types

Generated XML fragment.