<?php
set_include_path(
'libraries' . PATH_SEPARATOR .
'application' . PATH_SEPARATOR .
get_include_path()
);
require 'Harmony/Xml/Stream.php';
Harmony_Xml_Stream::register();
// echo the php class generated from the component
//echo file_get_contents('harmony://application/Demo2.xml');
// include the php class generated from the component
include 'harmony://Demo2.xml';
// using the php class
$test = new Demo2();
$test->sayHello();