PHP Classes

File: sample3.php

Recommend this page to a friend!
  Classes of Tom Schaefer   QXML   sample3.php   Download  
File: sample3.php
Role: Example script
Content type: text/plain
Description: Sample File: XML Output from Node for Flash XML
Class: QXML
XML <> Array (preserve attrib.), JSON, etc.
Author: By
Last change:
Date: 15 years ago
Size: 249 bytes
 

Contents

Class file image Download
<?php
   
include_once("QSet.class.php");
    include_once(
"QXml.class.php");
    include_once(
"data.php");
   
   
$nodes = array("chart" => $nodes);
   
header("content-type:text/xml");
   
   
$xml = new QXML;
   
$xml->toXML($nodes);
    echo
$xml->asXML();

?>