PRINT XML()

From Recital Documentation Wiki
Revision as of 10:07, 17 November 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Purpose

Display object as XML


Syntax

PRINT_XML(<object-ref>)


See Also

ACLASS(), ADDPROPERTY(), AMEMBERS(), ARRAY(), CLASS, COMPOBJ(), CREATEOBJECT(), DEFINE CLASS, DODEFAULT(), METHOD, NEWOBJECT(), OBJECT(), PRINT_HTML(), PRINT_JSON(), PRINT_R(), REMOVEPROPERTY(), SET CLASSLIBRARY, WITH


Description

The PRINT_XML() function is used to display the specified object, <object-ref>, in XML.


Example

open database southwind
select * from shippers into object shipobj
print_html(shipobj)
<?xml version="1.0" ?>
<data>
<row1>
<shipperid>1</shipperid><companyname>Speedy Express</companyname><phone>(503) 55
</row1>
<row2>
<shipperid>2</shipperid><companyname>United Package</companyname><phone>(503) 55
</row2>
<row3>
<shipperid>3</shipperid><companyname>Federal Shipping</companyname><phone>(503)
</row3>
</data>


Products

Recital, Recital Server, Recital Web