Login   Register  
PHP Classes
elePHPant
Icontem

File: sample_bookshop.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  >  sample_bookshop.php  >  Download  
File: sample_bookshop.php
Role: Example script
Content type: text/plain
Description: Transform Bookshop XML to Symfony Schema
Class: QXML
XML <> Array (preserve attrib.), JSON, etc.
Author: By
Last change:
Date: 6 years ago
Size: 255 bytes
 

Contents

Class file image Download
<?php

include_once("QTransform.class.php");

$INXML "demo_bookshop.xml";
$INXSL "dbd2propel.xsl";

$xml simplexml_load_file($INXML);
// Transform
header("content-type:text/xml");
$qt = new QTransform();
echo 
$qt->toXML($xml$INXSL);
?>