Login   Register  
PHP Classes
elePHPant
Icontem

File: sample3.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2008-05-07 05:21
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();

?>