<?php
require('BinaryXML.php');
$binaryXML = new BinaryXML();
$savePath = 'test.xml';
$images = Array('1.jpg', '2.jpg', '3.jpg', '4.jpg');
$result = $binaryXML->generateBinaryXML($images, $savePath, true, '1.0');
if ($result) {
print 'XML generated';
}
else {
print 'XML not generated';
}
$binaryXML->parseXML($savePath, 'output/');
?>
|