CF_XMLDump

Displays the XML contained in an XMLDatasource object, in the browser, using the Internet Explorer 5 stylesheet.

Syntax

<CF_XMLDump DATASOURCE="XMLDatasourceObject">

XMLDatasourceObject

Required. The name of the datasource object to dump to the browser. This datasource object must have been created via a previous tag.

Usage

The XMLDatasource object referenced in the Datasource attribute, must have already been created by a previous XMLToolkit tag. The XML dump is expandable and collapsable when viewed within Microsoft Internet Explorer. In any other browser, a static XML dump is displayed.

This tag is used for debugging purposes.

Example

<!--- Create a Datasource Object --->
<CF_XMLDatasource Name="MyDatasource">
    <people>
        <person age="27" company="Torchbox">Tom Dyson</person>
        <person age="27" company="WildFusion">David Maddison</person>
    </people>
</CF_XMLDatasource>
   
<!--- Dump the object to the browser for debugging --->
<CF_XMLDump Datasource="MyDatasource">
 

Produced by Tom Dyson of Torchbox, and David Maddison of Wildfusion Up One Level