Back to the module list

Output XML

The output XML allow to return the provided data to a XML format. It define the headers to inform the browser of the format.

If the provided data is already XML (start by <?xml), it is directely sent. If the data doesn't start by the XML tag, it is converted in a XML element <?xml version=\"1.0\"?><root></root>

The class definition

Class Domframework\Outputxml

Namespace Domframework

Description

/**
 Display in XML the data provided

Properties

No property available

Methods

public function out ( $data)
/**
 Display in XML the data provided
 @param mixed $data The data to be displayed