CF_XMLFileOutput

Writes an XMLDatasource object out to a file

Syntax

<CF_XMLFileOutput DATASOURCE ="datasource_name"
                  FILENAME="filename">

XMLDATASOURCE

Required. The XMLDatasource object containing the XML document to be transformed.

FILENAME

Required. The name of the output file.

Usage

In order to use this tag, you must have previously created an XMLDatasource.

Example

<!--- Create a simple cached Datasource --->
<CF_XMLDatasource name="People">
  <people>
       <person age="27" company="Torchbox">Tom Dyson</person>
       <person age="27" company="WildFusion">David Maddison</person>    
       <person age="23" company="WildFusion">Peter Piper</person>
       <person age="29" company="Torchbox">olly</person>    
  </people>
</CF_XMLDatasource>

<CF_XMLFileOutput Datasource="People" Filename="c:\people.xml">

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